Cargo Features
[dependencies]
polkadot-parachain = { version = "1.0.0", default-features = false, features = ["std", "wasm-api", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default wheneverpolkadot-parachain
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of serde, sp-core ^22.0.0, sp-runtime ^25.0.0, and sp-std ^9.0.0
serde:
all optional crates.
and std of bounded-collections ^0.1.8, frame-support ^22.0.0, parity-scale-codec, polkadot-core-primitives ^1.0.0, and scale-info
parity-scale-codec:
note: special care is taken to avoid inclusion of
sp-io
externals when compiling this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing various unnecessary Substrate-specific endpoints. - wasm-api
- runtime-benchmarks