Struct cargo_toml::TomlManifest[][src]

pub struct TomlManifest<Metadata = Value> {
    pub package: TomlPackage<Metadata>,
    pub dependencies: TomlDepsSet,
    pub dev_dependencies: TomlDepsSet,
    pub build_dependencies: TomlDepsSet,
    pub target: TomlPlatformDepsSet,
    pub features: TomlFeatureSet,
    pub bin: Vec<TomlLibOrBin>,
    pub lib: Option<TomlLibOrBin>,
    pub profile: Option<TomlProfiles>,
}

The top-level Cargo.toml structure

Fields

Note that due to autobins feature this is not the complete list

Note that due to autolibs feature this is not the complete list

Methods

impl TomlManifest<Value>
[src]

impl<Metadata: for<'a> Deserialize<'a>> TomlManifest<Metadata>
[src]

Trait Implementations

impl<Metadata: Debug> Debug for TomlManifest<Metadata>
[src]

Formats the value using the given formatter. Read more

impl<Metadata: Clone> Clone for TomlManifest<Metadata>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<Metadata> Send for TomlManifest<Metadata> where
    Metadata: Send

impl<Metadata> Sync for TomlManifest<Metadata> where
    Metadata: Sync