Cargo Features

[dependencies]
ink_metadata = { version = "5.1.1", default-features = false, features = ["std", "derive"] }
default = derive, std

These default features are set whenever ink_metadata is added without default-features = false somewhere in the dependency tree.

std default

Enables std of derive_more, ink_prelude, ink_primitives, parity-scale-codec, scale-info, and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

derive default

ink_metadata has 3 features without comments.