Skip to content

Commit 9655e92

Browse files
committed
Rebase cleanup
1 parent 83f3814 commit 9655e92

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/web/crate_details.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ impl CrateDetails {
293293
repository_url: None,
294294
homepage_url: None,
295295
keywords: None,
296+
yanked: false,
296297
have_examples: true,
297298
target_name: "x86_64-unknown-linux-gnu".to_string(),
298299
releases: vec![],
@@ -644,6 +645,7 @@ mod tests {
644645
"target_name": "x86_64-unknown-linux-gnu",
645646
"releases": [],
646647
"github": true,
648+
"yanked": false,
647649
"github_stars": null,
648650
"github_forks": null,
649651
"github_issues": null,
@@ -689,6 +691,7 @@ mod tests {
689691
"target_name": "x86_64-unknown-linux-gnu",
690692
"releases": [],
691693
"github": true,
694+
"yanked": false,
692695
"github_stars": null,
693696
"github_forks": null,
694697
"github_issues": null,
@@ -719,7 +722,8 @@ mod tests {
719722

720723
let correct_json = json!({
721724
"version": "idkman",
722-
"build_status": true
725+
"build_status": true,
726+
"yanked": true,
723727
});
724728

725729
assert_eq!(correct_json, serde_json::to_value(&release).unwrap());

src/web/rustdoc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,6 +1371,7 @@ mod test {
13711371
"target_name": "x86_64-unknown-linux-gnu",
13721372
"releases": [],
13731373
"github": true,
1374+
"yanked": false,
13741375
"github_stars": null,
13751376
"github_forks": null,
13761377
"github_issues": null,

0 commit comments

Comments
 (0)