Skip to content

Commit

Permalink
Fix default features
Browse files Browse the repository at this point in the history
  • Loading branch information
gui1117 committed Jul 29, 2024
1 parent daeef9c commit cd88ca2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/dependencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,7 @@ pub(crate) struct Dependency {
pub path: Option<Directory>,
#[serde(default, skip_serializing_if = "is_false")]
pub optional: bool,
#[serde(
rename = "default-features",
default = "get_true",
skip_serializing_if = "is_true"
)]
#[serde(rename = "default-features", default = "get_true")]
pub default_features: bool,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub features: Vec<String>,
Expand Down

0 comments on commit cd88ca2

Please sign in to comment.