Cargo Features
[dependencies]
ink_primitives = { version = "5.0.0", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverink_primitives
is added without
somewhere in the dependency tree.default-features = false - std default = scale-decode, scale-encode
-
Enables std of ink_prelude, 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.
- scale-decode std
-
Enables scale-decode ^0.10.0
- scale-encode std
-
Enables scale-encode ^0.5.0
- scale-info std