Skip to content

Commit

Permalink
Serialize required_dependencies as 'require-dependencies'
Browse files Browse the repository at this point in the history
  • Loading branch information
little-arhat committed Aug 20, 2018
1 parent 349d264 commit 9c38505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ struct SerializedTarget<'a> {
name: &'a str,
src_path: &'a PathBuf,
edition: &'a str,
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(rename = "required-features", skip_serializing_if = "Option::is_none")]
required_features: Option<Vec<&'a str>>,
}

Expand Down

0 comments on commit 9c38505

Please sign in to comment.