Cargo Features

[dependencies]
ink_metadata = { version = "5.0.0", 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 ink_prelude, ink_primitives, 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.