Skip to content

Commit a37bb5f

Browse files
authored
Update parity-scale-codec to prepare for breaking rustc release (#6746)
This updates parity-scale-codec{-derive} to prepare for a rustc release that would otherwise break the derive implementation: rust-lang/rust#73084
1 parent 66a47d2 commit a37bb5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1313

1414
[dependencies]
1515
pallet-balances = { version = "2.0.0-rc5", default-features = false, path = "../balances" }
16-
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
16+
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] }
1717
sp-std = { version = "2.0.0-rc5", default-features = false, path = "../../primitives/std" }
1818
serde = { version = "1.0.101", optional = true }
1919
sp-runtime = { version = "2.0.0-rc5", default-features = false, path = "../../primitives/runtime" }

benchmarking/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "FRAME offences pallet benchmarking"
1212
targets = ["x86_64-unknown-linux-gnu"]
1313

1414
[dependencies]
15-
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
15+
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false }
1616
frame-benchmarking = { version = "2.0.0-rc5", default-features = false, path = "../../benchmarking" }
1717
frame-support = { version = "2.0.0-rc5", default-features = false, path = "../../support" }
1818
frame-system = { version = "2.0.0-rc5", default-features = false, path = "../../system" }
@@ -28,7 +28,6 @@ sp-staking = { version = "2.0.0-rc5", default-features = false, path = "../../..
2828
sp-std = { version = "2.0.0-rc5", default-features = false, path = "../../../primitives/std" }
2929

3030
[dev-dependencies]
31-
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
3231
pallet-staking-reward-curve = { version = "2.0.0-rc5", path = "../../staking/reward-curve" }
3332
pallet-timestamp = { version = "2.0.0-rc5", path = "../../timestamp" }
3433
serde = { version = "1.0.101" }
@@ -51,4 +50,5 @@ std = [
5150
"sp-runtime/std",
5251
"sp-staking/std",
5352
"sp-std/std",
53+
"codec/std",
5454
]

0 commit comments

Comments
 (0)