mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 21:21:11 +00:00
Update derive syn parse 0.2.0 (+ docify) (#3920)
derive-syn-parse v0.2.0 came out recently which (finally) adds support for syn 2x. Upgrading to this will remove many of the places where syn 1x was still compiling alongside syn 2x in the polkadot-sdk workspace. This also upgrades `docify` to 0.2.8 which is the version that upgrades derive-syn-pasre to 0.2.0. Additionally, this consolidates the `docify` versions in the repo to all use the latest, and in one case upgrades to the 0.2x syntax where 0.1.x was still being used. --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
This commit is contained in:
@@ -51,7 +51,7 @@ sp-inherents = { default-features = false, path = "../primitives/inherents", opt
|
||||
frame-executive = { default-features = false, path = "../frame/executive", optional = true }
|
||||
frame-system-rpc-runtime-api = { default-features = false, path = "../frame/system/rpc/runtime-api", optional = true }
|
||||
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
log = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -34,7 +34,7 @@ frame-election-provider-support = { path = "../election-provider-support", defau
|
||||
|
||||
# third party
|
||||
log = { workspace = true }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
aquamarine = { version = "0.5.0" }
|
||||
|
||||
# Optional imports for benchmarking
|
||||
|
||||
@@ -24,7 +24,7 @@ frame-support = { path = "../support", default-features = false }
|
||||
frame-system = { path = "../system", default-features = false }
|
||||
sp-runtime = { path = "../../primitives/runtime", default-features = false }
|
||||
sp-std = { path = "../../primitives/std", default-features = false }
|
||||
docify = "0.2.6"
|
||||
docify = "0.2.8"
|
||||
|
||||
[dev-dependencies]
|
||||
pallet-transaction-payment = { path = "../transaction-payment" }
|
||||
|
||||
@@ -13,7 +13,7 @@ publish = false
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
docify = { version = "0.2.3", default-features = false }
|
||||
docify = "0.2.8"
|
||||
log = { version = "0.4.21", 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"] }
|
||||
|
||||
@@ -30,7 +30,7 @@ frame-election-provider-support = { path = "../election-provider-support", defau
|
||||
|
||||
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
|
||||
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
|
||||
[dev-dependencies]
|
||||
pallet-staking-reward-curve = { path = "../staking/reward-curve" }
|
||||
|
||||
@@ -12,7 +12,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
docify = "0.1.14"
|
||||
docify = "0.2.8"
|
||||
impl-trait-for-tuples = "0.2.2"
|
||||
log = "0.4.21"
|
||||
scale-info = { version = "2.0.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
//! succeeding after two steps. A runtime upgrade is then enacted and the block number is advanced
|
||||
//! until all migrations finish executing. Afterwards, the recorded historic migrations are
|
||||
//! checked and events are asserted.
|
||||
#![doc = docify::embed!("substrate/frame/migrations/src/tests.rs", simple_works)]
|
||||
#![doc = docify::embed!("src/tests.rs", simple_works)]
|
||||
//!
|
||||
//! ## Pallet API
|
||||
//!
|
||||
|
||||
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
|
||||
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
|
||||
|
||||
@@ -12,7 +12,7 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features =
|
||||
scale-info = { version = "2.1.2", default-features = false, features = ["derive"] }
|
||||
paste = { version = "1.0.14", default-features = false }
|
||||
serde = { features = ["derive"], optional = true, workspace = true, default-features = true }
|
||||
docify = "0.2.5"
|
||||
docify = "0.2.8"
|
||||
|
||||
frame-support = { path = "../support", default-features = false, features = ["experimental"] }
|
||||
frame-system = { path = "../system", default-features = false }
|
||||
|
||||
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
|
||||
frame-support = { path = "../support", default-features = false }
|
||||
frame-system = { path = "../system", default-features = false }
|
||||
|
||||
@@ -23,7 +23,7 @@ sp-io = { path = "../../primitives/io", default-features = false }
|
||||
sp-runtime = { path = "../../primitives/runtime", default-features = false }
|
||||
sp-std = { path = "../../primitives/std", default-features = false }
|
||||
sp-weights = { path = "../../primitives/weights", default-features = false }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
|
||||
[dev-dependencies]
|
||||
pallet-preimage = { path = "../preimage" }
|
||||
|
||||
@@ -25,7 +25,7 @@ sp-io = { path = "../../primitives/io", default-features = false }
|
||||
sp-runtime = { path = "../../primitives/runtime", default-features = false }
|
||||
sp-std = { path = "../../primitives/std", default-features = false }
|
||||
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
|
||||
[dev-dependencies]
|
||||
sp-core = { path = "../../primitives/core" }
|
||||
|
||||
@@ -58,7 +58,7 @@ k256 = { version = "0.13.1", default-features = false, features = ["ecdsa"] }
|
||||
environmental = { version = "1.1.4", default-features = false }
|
||||
sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features = false }
|
||||
serde_json = { features = ["alloc"], workspace = true }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
static_assertions = "1.1.0"
|
||||
|
||||
aquamarine = { version = "0.5.0" }
|
||||
|
||||
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
derive-syn-parse = "0.1.5"
|
||||
derive-syn-parse = "0.2.0"
|
||||
Inflector = "0.11.4"
|
||||
cfg-expr = "0.15.5"
|
||||
itertools = "0.10.3"
|
||||
|
||||
@@ -28,7 +28,7 @@ sp-runtime = { path = "../../primitives/runtime", default-features = false, feat
|
||||
sp-std = { path = "../../primitives/std", default-features = false }
|
||||
sp-version = { path = "../../primitives/version", default-features = false, features = ["serde"] }
|
||||
sp-weights = { path = "../../primitives/weights", default-features = false, features = ["serde"] }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.4.0"
|
||||
|
||||
@@ -30,7 +30,7 @@ sp-std = { path = "../../primitives/std", default-features = false }
|
||||
sp-storage = { path = "../../primitives/storage", default-features = false }
|
||||
sp-timestamp = { path = "../../primitives/timestamp", default-features = false }
|
||||
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
|
||||
[dev-dependencies]
|
||||
sp-core = { path = "../../primitives/core" }
|
||||
|
||||
@@ -20,7 +20,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
|
||||
"derive",
|
||||
"max-encoded-len",
|
||||
] }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
impl-trait-for-tuples = "0.2.2"
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
serde = { features = ["derive"], optional = true, workspace = true, default-features = true }
|
||||
|
||||
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] }
|
||||
docify = "0.2.7"
|
||||
docify = "0.2.8"
|
||||
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
|
||||
frame-support = { path = "../support", default-features = false }
|
||||
frame-system = { path = "../system", default-features = false }
|
||||
|
||||
Reference in New Issue
Block a user