Cargo Features

[dependencies]
rustfmt = { version = "0.10.0", default-features = false, features = ["cargo-fmt"] }
default = cargo-fmt

The cargo-fmt feature is set by default whenever rustfmt is added without default-features = false somewhere in the dependency tree.

cargo-fmt default

Rustfmt has 2 features without comments.