Cargo Features
[dependencies]
serp-example-ocw = { version = "0.1.0", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverserp-example-ocw
is added without
somewhere in the dependency tree.default-features = false - std default = serde
-
Enables std of parity-scale-codec ^1.3.4, frame-support ^2.0.1, frame-system ^2.0.1, lite-json ^0.1, sp-core ^2.0.0, sp-io ^2.0.0, sp-runtime ^2.0.0, and sp-std ^2.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.
- serde std
- sp-std std
-
Enables sp-std ^2.0.0