mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 18:57:57 +00:00
f3bf5c1acd
The `xcm` crate was renamed to `staging-xcm` to be able to publish it to crates.io as someone as squatted `xcm`. The problem with this rename is that the `TypeInfo` includes the crate name which ultimately lands in the metadata. The metadata is consumed by downstream users like `polkadot-js` or people building on top of `polkadot-js`. These people are using the entire `path` to find the type in the type registry. Thus, their code would break as the type path would now be [`staging_xcm`, `VersionedXcm`] instead of [`xcm`, `VersionedXcm`]. This pull request fixes this by renaming the path segment `staging_xcm` to `xcm`. This requires: https://github.com/paritytech/scale-info/pull/197 --------- Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
71 lines
2.8 KiB
TOML
71 lines
2.8 KiB
TOML
[package]
|
|
name = "staging-xcm-builder"
|
|
description = "Tools & types for building with XCM and its executor."
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
version = "1.0.0"
|
|
|
|
[dependencies]
|
|
impl-trait-for-tuples = "0.2.1"
|
|
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
|
xcm = { package = "staging-xcm", path = "..", default-features = false }
|
|
xcm-executor = { package = "staging-xcm-executor", path = "../xcm-executor", default-features = false }
|
|
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
|
|
sp-arithmetic = { path = "../../../substrate/primitives/arithmetic", default-features = false }
|
|
sp-io = { path = "../../../substrate/primitives/io", default-features = false }
|
|
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
|
|
sp-weights = { path = "../../../substrate/primitives/weights", default-features = false }
|
|
frame-support = { path = "../../../substrate/frame/support", default-features = false }
|
|
frame-system = { path = "../../../substrate/frame/system", default-features = false }
|
|
pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false }
|
|
log = { version = "0.4.17", default-features = false }
|
|
|
|
# Polkadot dependencies
|
|
polkadot-parachain-primitives = { path = "../../parachain", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
primitive-types = "0.12.1"
|
|
pallet-balances = { path = "../../../substrate/frame/balances" }
|
|
pallet-xcm = { path = "../pallet-xcm" }
|
|
pallet-salary = { path = "../../../substrate/frame/salary" }
|
|
pallet-assets = { path = "../../../substrate/frame/assets" }
|
|
primitives = { package = "polkadot-primitives", path = "../../primitives" }
|
|
polkadot-runtime-parachains = { path = "../../runtime/parachains" }
|
|
assert_matches = "1.5.0"
|
|
polkadot-test-runtime = { path = "../../runtime/test-runtime" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
runtime-benchmarks = [
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-assets/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-salary/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
"polkadot-parachain-primitives/runtime-benchmarks",
|
|
"polkadot-runtime-parachains/runtime-benchmarks",
|
|
"polkadot-test-runtime/runtime-benchmarks",
|
|
"primitives/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|
|
std = [
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"pallet-transaction-payment/std",
|
|
"parity-scale-codec/std",
|
|
"polkadot-parachain-primitives/std",
|
|
"scale-info/std",
|
|
"sp-arithmetic/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"sp-weights/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|