Cargo Features
[dependencies]
stp258-traits = { version = "0.5.2", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverstp258-traits
is added without
somewhere in the dependency tree.default-features = false - std default = serde
-
Enables std of parity-scale-codec ^2.0.0, frame-support ^3.0.0, num-traits, orml-utilities ^0.4.0, sp-io ^3.0.0, sp-runtime ^3.0.0, sp-staking ^3.0.0, and sp-std ^3.0.0
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.