Module cargo_toml::features
source · Available on crate feature
features
only.Expand description
Helper for parsing the microsyntax of the [features]
section and computing implied features from optional dependencies.
Structs§
- How an enabled feature affects the dependency
- A feature from
[features]
with all the details - A dependency referenced by a feature
- Parse result
- For parsing in
parse_custom
. Can be constructed from the crates.io index, instead ofCargo.toml
. - Call
features::Resolver::new()
to get started.
Enums§
Type Aliases§
- Outer key is the dependency key/name, the
Vec
contains feature names