Skip to content

Commit b116015

Browse files
committed
Remove a serde annotation that doesn't apply
This nests the data too much; serialized JSON looks like this, which has an extra value key: ``` { "badge_type": "maintenance", "attributes": { "value": { "value": "looking-for-maintainer" } } } ```
1 parent 55f5494 commit b116015

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/badge.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ pub enum Badge {
4444
}
4545

4646
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
47-
#[serde(tag = "badge_type", content = "attributes")]
4847
pub enum MaintenanceValue {
4948
#[serde(rename = "actively-developed")]
5049
ActivelyDeveloped,

0 commit comments

Comments
 (0)