[package] name = "polkadot-parachain" description = "Types and utilities for creating and working with parachains" authors.workspace = true edition.workspace = true license.workspace = true version= "1.0.0" [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. parity-scale-codec = { version = "3.6.1", default-features = false, features = [ "derive" ] } scale-info = { version = "2.5.0", default-features = false, features = ["derive", "serde"] } sp-std = { default-features = false, version = "9.0.0" } sp-runtime = { default-features = false, features = ["serde"], version = "25.0.0" } sp-core = { default-features = false, features = ["serde"], version = "22.0.0" } frame-support = { default-features = false, version = "22.0.0" } polkadot-core-primitives = { path = "../core-primitives", default-features = false, version = "1.0.0" } derive_more = "0.99.11" bounded-collections = { version = "0.1.8", default-features = false, features = ["serde"] } # all optional crates. serde = { version = "1.0.163", default-features = false, features = ["derive", "alloc"] } [features] default = ["std"] wasm-api = [] std = [ "bounded-collections/std", "parity-scale-codec/std", "scale-info/std", "serde/std", "sp-std/std", "sp-runtime/std", "sp-core/std", "polkadot-core-primitives/std", "frame-support/std", ] runtime-benchmarks = []