File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ impl CrateDetails {
293
293
repository_url : None ,
294
294
homepage_url : None ,
295
295
keywords : None ,
296
+ yanked : false ,
296
297
have_examples : true ,
297
298
target_name : "x86_64-unknown-linux-gnu" . to_string ( ) ,
298
299
releases : vec ! [ ] ,
@@ -644,6 +645,7 @@ mod tests {
644
645
"target_name" : "x86_64-unknown-linux-gnu" ,
645
646
"releases" : [ ] ,
646
647
"github" : true ,
648
+ "yanked" : false ,
647
649
"github_stars" : null,
648
650
"github_forks" : null,
649
651
"github_issues" : null,
@@ -689,6 +691,7 @@ mod tests {
689
691
"target_name" : "x86_64-unknown-linux-gnu" ,
690
692
"releases" : [ ] ,
691
693
"github" : true ,
694
+ "yanked" : false ,
692
695
"github_stars" : null,
693
696
"github_forks" : null,
694
697
"github_issues" : null,
@@ -719,7 +722,8 @@ mod tests {
719
722
720
723
let correct_json = json ! ( {
721
724
"version" : "idkman" ,
722
- "build_status" : true
725
+ "build_status" : true ,
726
+ "yanked" : true ,
723
727
} ) ;
724
728
725
729
assert_eq ! ( correct_json, serde_json:: to_value( & release) . unwrap( ) ) ;
Original file line number Diff line number Diff line change @@ -1371,6 +1371,7 @@ mod test {
1371
1371
"target_name" : "x86_64-unknown-linux-gnu" ,
1372
1372
"releases" : [ ] ,
1373
1373
"github" : true ,
1374
+ "yanked" : false ,
1374
1375
"github_stars" : null,
1375
1376
"github_forks" : null,
1376
1377
"github_issues" : null,
You can’t perform that action at this time.
0 commit comments