[package] name = "polkadot-parachain-primitives" description = "Types and utilities for creating and working with parachains (polkadot v1.15.0)" authors.workspace = true edition.workspace = true license.workspace = true version = "14.0.0" [lints] workspace = true [dependencies] # 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. codec = { features = ["derive"], workspace = true } scale-info = { features = ["derive", "serde"], workspace = true } sp-runtime = { features = ["serde"], workspace = true } sp-core = { features = ["serde"], workspace = true } sp-weights.workspace = true polkadot-core-primitives.workspace = true derive_more = { workspace = true, default-features = true } bounded-collections = { features = ["serde"], workspace = true } # all optional crates. serde = { features = ["alloc", "derive"], workspace = true } [features] default = ["std"] wasm-api = [] std = [ "bounded-collections/std", "codec/std", "polkadot-core-primitives/std", "scale-info/std", "serde/std", "sp-core/std", "sp-runtime/std", "sp-weights/std", ] runtime-benchmarks = ["sp-runtime/runtime-benchmarks"]