Cargo Features

cargo_metadata has no features set by default.

[dependencies]
cargo_metadata = { version = "0.18.1", features = ["builder", "unstable"] }
builder = derive_builder
unstable

Affects cargo_metadata::libtest

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

derive_builder builder?

Enables derive_builder ^0.12