Files
pezkuwi-subxt/polkadot/parachain/Cargo.toml
T
Serban Iorga 8e95a3e1aa Align dependencies with parity-bridges-common (#3937)
Working towards migrating the `parity-bridges-common` repo inside
`polkadot-sdk`. This PR upgrades some dependencies in order to align
them with the versions used in `parity-bridges-common`

Related to
https://github.com/paritytech/parity-bridges-common/issues/2538
2024-04-02 13:41:01 +00:00

44 lines
1.6 KiB
TOML

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