diff --git a/src/manifest.rs b/src/manifest.rs index 0ab2fa7..d9cff78 100644 --- a/src/manifest.rs +++ b/src/manifest.rs @@ -7,7 +7,7 @@ use std::path::PathBuf; #[derive(Serialize, Debug)] pub struct Manifest { - #[serde(rename = "cargo-features")] + #[serde(rename = "cargo-features", skip_serializing_if = "Vec::is_empty")] pub cargo_features: Vec, pub package: Package, #[serde(skip_serializing_if = "Map::is_empty")]