From 3e2bc6251d03d8b4314da00ea030060c3f911fe8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 01:41:09 +0000 Subject: [PATCH] build(deps): bump rand from 0.8.5 to 0.9.0 Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 to 0.9.0. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.0) --- updated-dependencies: - dependency-name: rand dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 190 ++++++++++++++++++++++++++--------------- eth-trie.rs/Cargo.toml | 2 +- z2/Cargo.toml | 2 +- zilliqa/Cargo.toml | 2 +- 4 files changed, 123 insertions(+), 73 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3505ca8d5..3caf9c193 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -72,7 +72,7 @@ dependencies = [ "getrandom 0.2.15", "once_cell", "version_check", - "zerocopy", + "zerocopy 0.7.35", ] [[package]] @@ -327,7 +327,7 @@ dependencies = [ "keccak-asm", "paste", "proptest", - "rand", + "rand 0.8.5", "ruint", "rustc-hash 2.1.0", "serde", @@ -507,7 +507,7 @@ dependencies = [ "alloy-signer", "async-trait", "k256", - "rand", + "rand 0.8.5", "thiserror 2.0.11", ] @@ -840,7 +840,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", ] [[package]] @@ -850,7 +850,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", ] [[package]] @@ -1299,9 +1299,9 @@ dependencies = [ "hkdf", "merlin", "pairing", - "rand", - "rand_chacha", - "rand_core", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "serde", "serde_bare", "sha2", @@ -1336,7 +1336,7 @@ dependencies = [ "ff", "group", "pairing", - "rand_core", + "rand_core 0.6.4", "serde", "subtle", "zeroize", @@ -1388,7 +1388,7 @@ dependencies = [ "once_cell", "pollster", "portable-atomic", - "rand", + "rand 0.8.5", "regress", "rustc-hash 2.1.0", "ryu-js", @@ -1897,7 +1897,7 @@ dependencies = [ "hmac", "once_cell", "pbkdf2 0.12.2", - "rand", + "rand 0.8.5", "sha2", "thiserror 1.0.69", ] @@ -2145,7 +2145,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", - "rand_core", + "rand_core 0.6.4", "subtle", "zeroize", ] @@ -2157,7 +2157,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", - "rand_core", + "rand_core 0.6.4", "typenum", ] @@ -2541,7 +2541,7 @@ checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek", "ed25519", - "rand_core", + "rand_core 0.6.4", "serde", "sha2", "subtle", @@ -2569,7 +2569,7 @@ dependencies = [ "hkdf", "pem-rfc7468", "pkcs8", - "rand_core", + "rand_core 0.6.4", "sec1", "serdect", "subtle", @@ -2611,7 +2611,7 @@ dependencies = [ "hex", "k256", "log", - "rand", + "rand 0.8.5", "rlp 0.5.2", "serde", "sha3", @@ -2712,7 +2712,7 @@ dependencies = [ "hex", "hmac", "pbkdf2 0.11.0", - "rand", + "rand 0.8.5", "scrypt", "serde", "serde_json", @@ -2732,7 +2732,7 @@ dependencies = [ "hex", "log", "parking_lot", - "rand", + "rand 0.9.0", "rlp 0.6.1", "uuid 1.14.0", ] @@ -2890,7 +2890,7 @@ dependencies = [ "num_enum", "once_cell", "open-fastrlp", - "rand", + "rand 0.8.5", "rlp 0.5.2", "serde", "serde_json", @@ -2996,7 +2996,7 @@ dependencies = [ "elliptic-curve", "eth-keystore", "ethers-core", - "rand", + "rand 0.8.5", "sha2", "thiserror 1.0.69", "tracing", @@ -3118,7 +3118,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "bitvec", - "rand_core", + "rand_core 0.6.4", "subtle", ] @@ -3153,7 +3153,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand", + "rand 0.8.5", "rustc-hex", "static_assertions", ] @@ -3639,8 +3639,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand", - "rand_core", + "rand 0.8.5", + "rand_core 0.6.4", "rand_xorshift", "subtle", ] @@ -3788,7 +3788,7 @@ dependencies = [ "idna", "ipnet", "once_cell", - "rand", + "rand 0.8.5", "socket2", "thiserror 1.0.69", "tinyvec", @@ -3810,7 +3810,7 @@ dependencies = [ "lru-cache", "once_cell", "parking_lot", - "rand", + "rand 0.8.5", "resolv-conf", "smallvec", "thiserror 1.0.69", @@ -4266,7 +4266,7 @@ dependencies = [ "hyper 1.6.0", "hyper-util", "log", - "rand", + "rand 0.8.5", "tokio", "url", "xmltree", @@ -4592,7 +4592,7 @@ dependencies = [ "jsonrpsee-types", "parking_lot", "pin-project", - "rand", + "rand 0.8.5", "rustc-hash 2.1.0", "serde", "serde_json", @@ -4916,8 +4916,8 @@ dependencies = [ "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", - "rand", - "rand_core", + "rand 0.8.5", + "rand_core 0.6.4", "thiserror 2.0.11", "tracing", "web-time", @@ -4950,7 +4950,7 @@ dependencies = [ "parking_lot", "pin-project", "quick-protobuf", - "rand", + "rand 0.8.5", "rw-stream-sink", "serde", "smallvec", @@ -4997,7 +4997,7 @@ dependencies = [ "prometheus-client", "quick-protobuf", "quick-protobuf-codec", - "rand", + "rand 0.8.5", "regex", "serde", "sha2", @@ -5038,7 +5038,7 @@ dependencies = [ "hkdf", "multihash", "quick-protobuf", - "rand", + "rand 0.8.5", "serde", "sha2", "thiserror 1.0.69", @@ -5064,7 +5064,7 @@ dependencies = [ "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", - "rand", + "rand 0.8.5", "serde", "sha2", "smallvec", @@ -5086,7 +5086,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand", + "rand 0.8.5", "smallvec", "socket2", "tokio", @@ -5125,7 +5125,7 @@ dependencies = [ "multihash", "once_cell", "quick-protobuf", - "rand", + "rand 0.8.5", "sha2", "snow", "static_assertions", @@ -5149,7 +5149,7 @@ dependencies = [ "libp2p-tls", "parking_lot", "quinn", - "rand", + "rand 0.8.5", "ring 0.17.8", "rustls 0.23.23", "socket2", @@ -5171,7 +5171,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand", + "rand 0.8.5", "serde", "smallvec", "tracing", @@ -5193,7 +5193,7 @@ dependencies = [ "lru 0.12.5", "multistream-select", "once_cell", - "rand", + "rand 0.8.5", "smallvec", "tokio", "tracing", @@ -5464,7 +5464,7 @@ checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core", + "rand_core 0.6.4", "zeroize", ] @@ -5969,7 +5969,7 @@ dependencies = [ "glob", "opentelemetry", "percent-encoding", - "rand", + "rand 0.8.5", "serde_json", "thiserror 2.0.11", "tokio", @@ -6069,7 +6069,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" dependencies = [ "base64ct", - "rand_core", + "rand_core 0.6.4", "subtle", ] @@ -6233,7 +6233,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" dependencies = [ "phf_shared 0.11.3", - "rand", + "rand 0.8.5", ] [[package]] @@ -6434,7 +6434,7 @@ version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" dependencies = [ - "zerocopy", + "zerocopy 0.7.35", ] [[package]] @@ -6541,8 +6541,8 @@ dependencies = [ "bitflags 2.7.0", "lazy_static", "num-traits", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_xorshift", "regex-syntax 0.8.5", "rusty-fork", @@ -6688,7 +6688,7 @@ checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", "getrandom 0.2.15", - "rand", + "rand 0.8.5", "ring 0.17.8", "rustc-hash 2.1.0", "rustls 0.23.23", @@ -6736,11 +6736,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "serde", ] +[[package]] +name = "rand" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", + "zerocopy 0.8.21", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -6748,7 +6759,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -6760,13 +6781,22 @@ dependencies = [ "getrandom 0.2.15", ] +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.1", +] + [[package]] name = "rand_xorshift" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -7211,7 +7241,7 @@ dependencies = [ "parity-scale-codec", "primitive-types", "proptest", - "rand", + "rand 0.8.5", "rlp 0.5.2", "ruint-macro", "serde", @@ -7257,7 +7287,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" dependencies = [ - "rand", + "rand 0.8.5", ] [[package]] @@ -7620,7 +7650,7 @@ version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9465315bc9d4566e1724f0fffcbcc446268cb522e60f9a27bcded6b19c108113" dependencies = [ - "rand", + "rand 0.8.5", "secp256k1-sys", ] @@ -7899,7 +7929,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest 0.10.7", - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -7976,7 +8006,7 @@ dependencies = [ "blake2", "chacha20poly1305", "curve25519-dalek", - "rand_core", + "rand_core 0.6.4", "ring 0.17.8", "rustc_version 0.4.1", "sha2", @@ -8005,7 +8035,7 @@ dependencies = [ "http 1.2.0", "httparse", "log", - "rand", + "rand 0.8.5", "sha1", ] @@ -8244,7 +8274,7 @@ dependencies = [ "byteorder", "crunchy", "lazy_static", - "rand", + "rand 0.8.5", "rustc-hex", ] @@ -8465,7 +8495,7 @@ dependencies = [ "percent-encoding", "pest", "pest_derive", - "rand", + "rand 0.8.5", "regex", "serde", "serde_json", @@ -8836,7 +8866,7 @@ dependencies = [ "indexmap 1.9.3", "pin-project", "pin-project-lite", - "rand", + "rand 0.8.5", "slab", "tokio", "tokio-util", @@ -8989,7 +9019,7 @@ dependencies = [ "http 0.2.12", "httparse", "log", - "rand", + "rand 0.8.5", "rustls 0.21.12", "sha1", "thiserror 1.0.69", @@ -9287,7 +9317,7 @@ dependencies = [ "crypto-bigint", "elliptic-curve", "generic-array 1.2.0", - "rand_core", + "rand_core 0.6.4", "serde", "sha3", "subtle", @@ -9806,7 +9836,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ "curve25519-dalek", - "rand_core", + "rand_core 0.6.4", "serde", "zeroize", ] @@ -9854,7 +9884,7 @@ dependencies = [ "nohash-hasher", "parking_lot", "pin-project", - "rand", + "rand 0.8.5", "static_assertions", ] @@ -9869,7 +9899,7 @@ dependencies = [ "nohash-hasher", "parking_lot", "pin-project", - "rand", + "rand 0.8.5", "static_assertions", "web-time", ] @@ -9950,7 +9980,7 @@ dependencies = [ "primitive-types", "prost 0.13.5", "prost-build", - "rand", + "rand 0.9.0", "regex", "reqwest 0.12.12", "revm", @@ -9983,7 +10013,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ "byteorder", - "zerocopy-derive", + "zerocopy-derive 0.7.35", +] + +[[package]] +name = "zerocopy" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcf01143b2dd5d134f11f545cf9f1431b13b749695cb33bcce051e7568f99478" +dependencies = [ + "zerocopy-derive 0.8.21", ] [[package]] @@ -9997,6 +10036,17 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "zerocopy-derive" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712c8386f4f4299382c9abee219bee7084f78fb939d88b6840fcc1320d5f6da2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.98", +] + [[package]] name = "zerofrom" version = "0.1.5" @@ -10103,8 +10153,8 @@ dependencies = [ "pprof", "primitive-types", "prost 0.13.5", - "rand", - "rand_chacha", + "rand 0.9.0", + "rand_chacha 0.3.1", "revm", "revm-inspectors", "rusqlite", @@ -10159,7 +10209,7 @@ dependencies = [ "k256", "primitive-types", "prost 0.12.6", - "rand", + "rand 0.8.5", "regex", "scilla-parser 1.0.0", "serde", diff --git a/eth-trie.rs/Cargo.toml b/eth-trie.rs/Cargo.toml index 22eae2e43..6f8350979 100644 --- a/eth-trie.rs/Cargo.toml +++ b/eth-trie.rs/Cargo.toml @@ -17,7 +17,7 @@ rlp = "0.6.1" [dev-dependencies] alloy = { version = "0.11.1", default-features = false, features = ["getrandom"] } -rand = "0.8.5" +rand = "0.9.0" hex = "0.4.3" criterion = "0.5.1" uuid = { version = "1.14.0", features = ["serde", "v4"] } diff --git a/z2/Cargo.toml b/z2/Cargo.toml index b90df1119..c9960348e 100644 --- a/z2/Cargo.toml +++ b/z2/Cargo.toml @@ -47,7 +47,7 @@ libp2p = { git = "https://github.com/libp2p/rust-libp2p.git", rev = "930118ef5a6 log = "0.4.26" primitive-types = "0.12.2" prost = "0.13.5" -rand = "0.8.5" +rand = "0.9.0" regex = "1.11.1" reqwest = {version = "0.12.9", features = ["json", "rustls-tls", "http2", "charset"], default-features = false} revm = {version = "19.5.0", features = ["optional_balance_check"]} diff --git a/zilliqa/Cargo.toml b/zilliqa/Cargo.toml index 013b74830..090eddf00 100644 --- a/zilliqa/Cargo.toml +++ b/zilliqa/Cargo.toml @@ -52,7 +52,7 @@ opentelemetry_sdk = { version = "0.28.0", features = ["rt-tokio"] } opentelemetry-otlp = { version = "0.28.0", default-features = true, features = ["grpc-tonic", "metrics"] } paste = "1.0.15" prost = "0.13.5" -rand = "0.8.5" +rand = "0.9.0" rand_chacha = "0.3.1" revm = { version = "19.5.0", features = ["optional_no_base_fee"] } revm-inspectors = { version = "0.15.0", features = ["js-tracer"] }