Struct cargo::core::manifest::Manifest [−][src]
pub struct Manifest { /* fields omitted */ }
Expand description
Contains all the information about a package, as loaded from a Cargo.toml
.
This is deserialized using the TomlManifest
type.
Implementations
pub fn new(
summary: Summary,
default_kind: Option<CompileKind>,
forced_kind: Option<CompileKind>,
targets: Vec<Target>,
exclude: Vec<String>,
include: Vec<String>,
links: Option<String>,
metadata: ManifestMetadata,
custom_metadata: Option<Value>,
profiles: Option<TomlProfiles>,
publish: Option<Vec<String>>,
replace: Vec<(PackageIdSpec, Dependency)>,
patch: HashMap<Url, Vec<Dependency>>,
workspace: WorkspaceConfig,
unstable_features: Features,
edition: Edition,
rust_version: Option<String>,
im_a_teapot: Option<bool>,
default_run: Option<String>,
original: Rc<TomlManifest>,
metabuild: Option<Vec<String>>,
resolve_behavior: Option<ResolveBehavior>
) -> Manifest
[src]Unstable, nightly features that are enabled in this manifest.
The style of resolver behavior to use, declared with the resolver
field.
Returns None
if it is not specified.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Manifest
impl !UnwindSafe for Manifest
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V