mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-14 20:15:44 +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>
37 lines
1.2 KiB
TOML
37 lines
1.2 KiB
TOML
[package]
|
|
name = "staging-xcm"
|
|
description = "The basic XCM datastructures."
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
bounded-collections = { version = "0.1.8", default-features = false, features = ["serde"] }
|
|
derivative = { version = "2.2.0", default-features = false, features = [ "use_core" ] }
|
|
impl-trait-for-tuples = "0.2.2"
|
|
log = { version = "0.4.17", default-features = false }
|
|
parity-scale-codec = { version = "3.6.1", default-features = false, features = [ "derive", "max-encoded-len" ] }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
|
|
sp-weights = { path = "../../substrate/primitives/weights", default-features = false, features = ["serde"] }
|
|
serde = { version = "1.0.188", default-features = false, features = ["alloc", "derive"] }
|
|
xcm-procedural = { path = "procedural" }
|
|
environmental = { version = "1.1.4", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
sp-io = { path = "../../substrate/primitives/io" }
|
|
hex = "0.4.3"
|
|
hex-literal = "0.4.1"
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
wasm-api = []
|
|
std = [
|
|
"bounded-collections/std",
|
|
"environmental/std",
|
|
"parity-scale-codec/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"sp-weights/std",
|
|
]
|