mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
49c4b2014b
Enable `runtime-benchmarks` feature for `parachain-common` and `cumulus-primitives-utility` crates' dependencies. After adding `runtime-benchmarks = []` under `features` category in `Cargo.toml` files for the creates, I did run, > zepter lint propagate-feature --feature runtime-benchmarks --workspace --fix --feature-enables-dep="runtime-benchmarks:frame-benchmarking" This changes required for https://github.com/paritytech/polkadot-sdk/pull/1333
96 lines
4.2 KiB
TOML
96 lines
4.2 KiB
TOML
[package]
|
|
name = "parachains-common"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Logic which is common to all parachain runtimes"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false }
|
|
log = { version = "0.4.19", default-features = false }
|
|
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
|
|
num-traits = { version = "0.2", default-features = false}
|
|
smallvec = "1.11.0"
|
|
|
|
# Substrate
|
|
frame-support = { path = "../../../substrate/frame/support", default-features = false }
|
|
frame-system = { path = "../../../substrate/frame/system", default-features = false }
|
|
pallet-asset-tx-payment = { path = "../../../substrate/frame/transaction-payment/asset-tx-payment", default-features = false }
|
|
pallet-assets = { path = "../../../substrate/frame/assets", default-features = false }
|
|
pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false }
|
|
pallet-balances = { path = "../../../substrate/frame/balances", default-features = false }
|
|
sp-consensus-aura = { path = "../../../substrate/primitives/consensus/aura", default-features = false }
|
|
sp-core = { path = "../../../substrate/primitives/core", default-features = false }
|
|
sp-io = { path = "../../../substrate/primitives/io", default-features = false }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
|
|
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
|
|
|
|
# Polkadot
|
|
kusama-runtime-constants = { path = "../../../polkadot/runtime/kusama/constants", default-features = false}
|
|
polkadot-runtime-constants = { path = "../../../polkadot/runtime/polkadot/constants", default-features = false}
|
|
rococo-runtime-constants = { path = "../../../polkadot/runtime/rococo/constants", default-features = false}
|
|
westend-runtime-constants = { path = "../../../polkadot/runtime/westend/constants", default-features = false}
|
|
polkadot-core-primitives = { path = "../../../polkadot/core-primitives", default-features = false}
|
|
polkadot-primitives = { path = "../../../polkadot/primitives", default-features = false}
|
|
xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false}
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false}
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../../../polkadot/xcm/xcm-executor", default-features = false}
|
|
|
|
# Cumulus
|
|
pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false }
|
|
cumulus-primitives-core = { path = "../../primitives/core", default-features = false }
|
|
cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false}
|
|
sp-io = { path = "../../../substrate/primitives/io", default-features = false}
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"cumulus-primitives-core/std",
|
|
"cumulus-primitives-utility/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"kusama-runtime-constants/std",
|
|
"log/std",
|
|
"pallet-asset-tx-payment/std",
|
|
"pallet-assets/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"pallet-collator-selection/std",
|
|
"polkadot-core-primitives/std",
|
|
"polkadot-primitives/std",
|
|
"polkadot-runtime-constants/std",
|
|
"rococo-runtime-constants/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"westend-runtime-constants/std",
|
|
"xcm-builder/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|
|
|
|
runtime-benchmarks = [
|
|
"cumulus-primitives-utility/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-asset-tx-payment/runtime-benchmarks",
|
|
"pallet-assets/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-collator-selection/runtime-benchmarks",
|
|
"polkadot-primitives/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|