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 whenever outer_attribute is added without default-features = false somewhere in the dependency tree.

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