Cargo Features
[dependencies]
ink_storage_traits = { version = "5.0.0", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverink_storage_traits
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of ink_metadata, ink_prelude, ink_primitives, parity-scale-codec, and scale-info
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.