[package] name = "polkadot-primitives" version = "16.0.0" authors.workspace = true edition.workspace = true license.workspace = true description = "Shared primitives used by Polkadot runtime" [lints] workspace = true [dependencies] bitvec = { features = ["alloc", "serde"], workspace = true } hex-literal = { workspace = true, default-features = true } codec = { features = ["bit-vec", "derive"], workspace = true } scale-info = { features = ["bit-vec", "derive", "serde"], workspace = true } log = { workspace = true } serde = { features = ["alloc", "derive"], workspace = true } sp-application-crypto = { features = ["serde"], workspace = true } sp-inherents.workspace = true sp-core.workspace = true sp-runtime.workspace = true sp-api.workspace = true sp-arithmetic = { features = ["serde"], workspace = true } sp-authority-discovery = { features = ["serde"], workspace = true } sp-consensus-slots = { features = ["serde"], workspace = true } sp-io.workspace = true sp-keystore = { optional = true, workspace = true } sp-staking = { features = ["serde"], workspace = true } polkadot-core-primitives.workspace = true polkadot-parachain-primitives.workspace = true [features] default = ["std"] std = [ "bitvec/std", "codec/std", "log/std", "polkadot-core-primitives/std", "polkadot-parachain-primitives/std", "scale-info/std", "serde/std", "sp-api/std", "sp-application-crypto/std", "sp-arithmetic/std", "sp-authority-discovery/std", "sp-consensus-slots/std", "sp-core/std", "sp-inherents/std", "sp-io/std", "sp-keystore", "sp-keystore?/std", "sp-runtime/std", "sp-staking/std", ] runtime-benchmarks = [ "polkadot-parachain-primitives/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "sp-staking/runtime-benchmarks", ]