Cargo Features

[dependencies]
polkadot-parachain-primitives = { version = "11.0.0", default-features = false, features = ["std", "wasm-api", "runtime-benchmarks"] }
default = std

The std feature is set by default whenever polkadot-parachain-primitives is added without default-features = false somewhere in the dependency tree.

std default

Enables std of bounded-collections, parity-scale-codec, polkadot-core-primitives, 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.

and std of serde, sp-core, sp-runtime, sp-std, and sp-weights

serde:

all optional crates.

wasm-api
runtime-benchmarks

Enables runtime-benchmarks of sp-runtime