Cargo Features
[dependencies]
outer_attribute = { version = "0.1.1", default-features = false, features = ["same_layout", "different_layout"] }
- same_layout
-
The features are mutually exclusive because their use in combination is counterproductive
Affects
outer_attribute::same_layout
… - default = different_layout
-
The
different_layout
feature is set by default wheneverouter_attribute
is added without
somewhere in the dependency tree.default-features = false - different_layout default
-
Affects
outer_attribute::different_layout
…
Features from optional dependencies
resolver | not needed
See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html