Skip to content

Commit

Permalink
Add missing metadata fields that were added in rust-lang/cargo#5386
Browse files Browse the repository at this point in the history
  • Loading branch information
ysimonson committed Nov 8, 2018
1 parent 7678c74 commit 3e3e9e7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,14 @@ pub struct Package {
pub features: HashMap<String, Vec<String>>,
/// Path containing the `Cargo.toml`
pub manifest_path: String,
/// Categories as given in the `Cargo.toml`
pub categories: Vec<String>,
/// Keywords as given in the `Cargo.toml`
pub keywords: Vec<String>,
/// Readme as given in the `Cargo.toml`
pub readme: Option<String>,
/// Repository as given in the `Cargo.toml`
pub repository: Option<String>,
/// Default Rust edition for the package
///
/// Beware that individual targets may specify their own edition in
Expand Down

0 comments on commit 3e3e9e7

Please sign in to comment.