Remove outdated DistributionWire serde annotations (#5400)

This struct doesn't implement `serde::Serialize`, the annotations are
dead.
This commit is contained in:
konsti
2024-07-24 15:30:58 +02:00
committed by GitHub
parent 82f4864386
commit 9b12fcb90d
+4 -4
View File
@@ -1137,13 +1137,13 @@ struct DistributionWire {
id: DistributionId,
#[serde(default)]
sdist: Option<SourceDist>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
#[serde(default)]
wheels: Vec<Wheel>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
#[serde(default)]
dependencies: Vec<DependencyWire>,
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
#[serde(default)]
optional_dependencies: BTreeMap<ExtraName, Vec<DependencyWire>>,
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
#[serde(default)]
dev_dependencies: BTreeMap<GroupName, Vec<DependencyWire>>,
}