Skip to content

Commit 282dc62

Browse files
authored
make crate description optional
1 parent 213e8be commit 282dc62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/crates.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ struct Crate {
1818
#[serde(rename = "updated_at")]
1919
updated: String,
2020
downloads: u64,
21+
#[serde(default)]
2122
description: String,
2223
documentation: Option<String>,
2324
}

0 commit comments

Comments
 (0)