Skip to content

Commit f04c4c1

Browse files
committed
views: Always serialize the yanked field
1 parent c55729b commit f04c4c1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/views.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ pub struct EncodableCrate {
209209
pub downloads: i64,
210210
pub recent_downloads: Option<i64>,
211211
pub default_version: Option<String>,
212-
#[serde(skip_serializing_if = "Option::is_none")]
213212
pub yanked: Option<bool>,
214213
// NOTE: Used by shields.io, altering `max_version` requires a PR with shields.io
215214
pub max_version: String,

0 commit comments

Comments
 (0)