diff --git a/src/lib.rs b/src/lib.rs index 773ff230..8b441456 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -163,14 +163,26 @@ pub struct Package { /// An opaque identifier for a package pub id: String, source: Option, + /// Description as given in the `Cargo.toml` + pub description: Option, /// List of dependencies of this particular package pub dependencies: Vec, + /// License as given in the `Cargo.toml` + pub license: Option, /// Targets provided by the crate (lib, bin, example, test, ...) pub targets: Vec, /// Features provided by the crate, mapped to the features required by that feature. pub features: HashMap>, /// Path containing the `Cargo.toml` pub manifest_path: String, + /// Categories as given in the `Cargo.toml` + pub categories: Vec, + /// Keywords as given in the `Cargo.toml` + pub keywords: Vec, + /// Readme as given in the `Cargo.toml` + pub readme: Option, + /// Repository as given in the `Cargo.toml` + pub repository: Option, /// Default Rust edition for the package /// /// Beware that individual targets may specify their own edition in