Skip to content

Commit

Permalink
Add serde(default) to make it work on stable
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed May 31, 2018
1 parent 2bc187c commit 3492954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ pub struct Package {
/// Path containing the `Cargo.toml`
pub manifest_path: String,
/// Contents of the free form package.metadata section
#[serde(default)]
pub metadata: serde_json::Value,
#[doc(hidden)]
#[serde(skip)]
Expand Down

0 comments on commit 3492954

Please sign in to comment.