mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
72de70c72d
`VersionedMigration` has become somewhat widely used for handling version bumps in migrations the last few months. It is currently behind the `experimental` feature flag, requiring every pallet that writes a new migration with version bumps to set up the `experimental` flag in their own Cargo.tomls, and also for every runtime using these pallets to explicitly enable the `experimental` flag for each pallet. This is becoming quite verbose, and I can only see the number of pallets requiring the experimental flag increasing for no other reason than using what has become a commonly used feature. Additionally, I'm writing migration docs and would like to avoid stepping through how to use the `experimental` feature to get `VersionedMigration` working. Since the feature has been used in production for some time now without any reported issues, is becoming commonly used and ready to advertise in docs, I feel this is a good time to make it non-experimental.
68 lines
2.4 KiB
TOML
68 lines
2.4 KiB
TOML
[package]
|
|
name = "pallet-xcm"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
version = "1.0.0"
|
|
|
|
|
|
[dependencies]
|
|
bounded-collections = { version = "0.1.8", default-features = false }
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.188", optional = true, features = ["derive"] }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
frame-benchmarking = { path = "../../../substrate/frame/benchmarking", default-features = false, optional = true }
|
|
frame-support = { path = "../../../substrate/frame/support", default-features = false}
|
|
frame-system = { path = "../../../substrate/frame/system", 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}
|
|
|
|
xcm = { package = "staging-xcm", path = "..", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
pallet-balances = { path = "../../../substrate/frame/balances" }
|
|
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
|
|
polkadot-parachain-primitives = { path = "../../parachain" }
|
|
xcm-builder = { package = "staging-xcm-builder", path = "../xcm-builder" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"bounded-collections/std",
|
|
"codec/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"scale-info/std",
|
|
"serde",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"polkadot-parachain-primitives/runtime-benchmarks",
|
|
"polkadot-runtime-parachains/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"polkadot-runtime-parachains/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|