From 092ffbc1d99e2f404360f49a27b3bc4869650f29 Mon Sep 17 00:00:00 2001 From: gui Date: Tue, 30 Jul 2024 22:20:38 +0900 Subject: [PATCH] this might work :-) --- Cargo.lock | 16 +++++++++++++--- Cargo.toml | 2 +- polkadot/xcm/procedural/Cargo.toml | 4 +++- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a79a25592e8a..7466975fa428 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1454,6 +1454,15 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" +[[package]] +name = "basic-toml" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2db21524cad41c5591204d22d75e1970a2d1f71060214ca931dc7d5afe2c14e5" +dependencies = [ + "serde", +] + [[package]] name = "beef" version = "0.5.2" @@ -22636,17 +22645,18 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "trybuild" -version = "1.0.98" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55265878356bdd85c9baa15859c87de93b2bf1f33acf752040a561e4a228f62" +checksum = "9a9d3ba662913483d6722303f619e75ea10b7855b0f8e0d72799cf8621bb488f" dependencies = [ + "basic-toml", "dissimilar", "glob", + "once_cell", "serde", "serde_derive", "serde_json", "termcolor", - "toml 0.8.8", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e81b3c632ca9..703e1ebbcf62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1323,7 +1323,7 @@ trie-bench = { version = "0.39.0" } trie-db = { version = "0.29.0", default-features = false } trie-root = { version = "0.18.0", default-features = false } trie-standardmap = { version = "0.16.0" } -trybuild = { version = "1.0.98" } +trybuild = { version = "1.0.89" } tt-call = { version = "1.0.8" } tuplex = { version = "0.1", default-features = false } twox-hash = { version = "1.6.3", default-features = false } diff --git a/polkadot/xcm/procedural/Cargo.toml b/polkadot/xcm/procedural/Cargo.toml index a7db183bcdbf..af5d7afd6e96 100644 --- a/polkadot/xcm/procedural/Cargo.toml +++ b/polkadot/xcm/procedural/Cargo.toml @@ -21,4 +21,6 @@ Inflector = { workspace = true } [dev-dependencies] trybuild = { features = ["diff"], workspace = true } -xcm = { workspace = true, default-features = true } +# NOTE: we have to explicitly specify `std` because +# https://github.com/paritytech/polkadot-sdk/pull/5167 +xcm = { workspace = true, default-features = true, features = ["std"] }