Cargo Features
[dependencies]
pallet-commodities = { version = "1.0.0", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverpallet-commodities
is added without
somewhere in the dependency tree.default-features = false - std default = serde
-
Enables std of parity-scale-codec ^1.3.5, frame-support ^2.0.0, frame-system ^2.0.0, sp-runtime ^2.0.0, and sp-std ^2.0.0
parity-scale-codec:
Substrate dependencies
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.