diff --git a/Cargo.lock b/Cargo.lock index cb0da466bc..f459d27906 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6709,7 +6709,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 1.0.109", + "syn 2.0.65", "trybuild", ] @@ -6911,8 +6911,8 @@ checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" dependencies = [ "bitflags 2.4.0", "num-traits", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_xorshift", "unarray", ] diff --git a/precompiles/macro/Cargo.toml b/precompiles/macro/Cargo.toml index 64c3ee61ff..69b1edc72d 100644 --- a/precompiles/macro/Cargo.toml +++ b/precompiles/macro/Cargo.toml @@ -19,7 +19,7 @@ prettyplease = "0.2.20" proc-macro2 = "1.0" quote = "1.0" sp-crypto-hashing = { workspace = true } -syn = { version = "1.0", features = ["extra-traits", "fold", "full", "visit"] } +syn = { version = "2.0", features = ["extra-traits", "fold", "full", "visit"] } [dev-dependencies] macrotest = "1.0.12"