Skip to content

Commit

Permalink
Update rand requirement from 0.8 to 0.9
Browse files Browse the repository at this point in the history
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](rust-random/rand@0.8.5...0.9.0)

---
updated-dependencies:
- dependency-name: rand
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Feb 3, 2025
1 parent 59fcb15 commit 78ba7a0
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ libcrux-ed25519 = { version = "=0.0.2-beta.2", path = "ed25519" }
libcrux-ecdh = { version = "=0.0.2-beta.2", path = "libcrux-ecdh" }
libcrux-ml-kem = { version = "=0.0.2-beta.2", path = "libcrux-ml-kem" }
libcrux-kem = { version = "=0.0.2-beta.2", path = "libcrux-kem" }
rand = { version = "0.8" }
rand = { version = "0.9" }
log = { version = "0.4", optional = true }
# WASM API
wasm-bindgen = { version = "0.2.87", optional = true }
Expand All @@ -93,7 +93,7 @@ hax-lib = { version = "0.1.0", git = "https://github.com/hacspec/hax/" }
[dev-dependencies]
libcrux = { path = ".", features = ["rand", "tests"] }
pretty_env_logger = "0.5"
rand = { version = "0.8" }
rand = { version = "0.9" }
rand_core = { version = "0.6" }
quickcheck = "1"
quickcheck_macros = "1"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish = false
bench = false # so libtest doesn't eat the arguments for criterion

[dependencies]
rand = { version = "0.8" }
rand = { version = "0.9" }

[dev-dependencies]
libcrux = { path = "../", features = ["rand", "tests"] }
Expand Down
2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4"
rand = { version = "0.8" }
rand = { version = "0.9" }

[dependencies.libcrux]
path = "../"
Expand Down
2 changes: 1 addition & 1 deletion libcrux-ecdh/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = "Libcrux ECDH implementation"
path = "src/ecdh.rs"

[dependencies]
rand = { version = "0.8" }
rand = { version = "0.9" }
libcrux-hacl = { version = "=0.0.2-beta.2", path = "../sys/hacl" }
libcrux-curve25519 = { version = "=0.0.2-beta.2", path = "../curve25519" }

Expand Down
2 changes: 1 addition & 1 deletion libcrux-kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ path = "src/kem.rs"
libcrux-ml-kem = { version = "=0.0.2-beta.2", path = "../libcrux-ml-kem" }
libcrux-sha3 = { version = "=0.0.2-beta.2", path = "../libcrux-sha3" }
libcrux-ecdh = { version = "=0.0.2-beta.2", path = "../libcrux-ecdh" }
rand = { version = "0.8" }
rand = { version = "0.9" }

[features]
tests = [] # Expose functions for testing.
Expand Down
2 changes: 1 addition & 1 deletion libcrux-ml-dsa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ libcrux-macros = { version = "0.0.2-beta.2", path = "../macros" }
hax-lib = { version = "0.1.0", git = "https://github.com/hacspec/hax/" }

[dev-dependencies]
rand = { version = "0.8" }
rand = { version = "0.9" }
hex = { version = "0.4.3", features = ["serde"] }
serde_json = { version = "1.0" }
serde = { version = "1.0", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions libcrux-ml-kem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exclude = [
bench = false # so libtest doesn't eat the arguments to criterion

[dependencies]
rand = { version = "0.8", optional = true }
rand = { version = "0.9", optional = true }
libcrux-platform = { version = "0.0.2-beta.2", path = "../sys/platform" }
libcrux-sha3 = { version = "0.0.2-beta.2", path = "../libcrux-sha3" }
libcrux-intrinsics = { version = "0.0.2-beta.2", path = "../libcrux-intrinsics" }
Expand Down Expand Up @@ -53,7 +53,7 @@ rand = ["dep:rand"]
std = []

[dev-dependencies]
rand = { version = "0.8" }
rand = { version = "0.9" }
serde_json = { version = "1.0" }
serde = { version = "1.0", features = ["derive"] }
hex = { version = "0.4.3", features = ["serde"] }
Expand Down
2 changes: 1 addition & 1 deletion libcrux-psq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classic-mceliece-rust = { version = "2.0.0", features = [
"mceliece460896f",
"zeroize",
] }
rand = { version = "0.8" }
rand = { version = "0.9" }
libcrux-ecdh = { version = "0.0.2-beta.2", path = "../libcrux-ecdh" }
libcrux = { version = "0.0.2-beta.2", path = ".." }

Expand Down
2 changes: 1 addition & 1 deletion libcrux-sha3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ harness = false
[dev-dependencies]
criterion = "0.5.1"
hex = "0.4.3"
rand = "0.8.5"
rand = "0.9.0"
cavp = { version = "0.0.2-beta.2", path = "../cavp" }
pretty_env_logger = "0.5.0"

Expand Down

0 comments on commit 78ba7a0

Please sign in to comment.