Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rand requirement from 0.8 to 0.9 #787

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,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 @@ -95,7 +95,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 ecdsa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ libcrux-p256 = { version = "=0.0.2-beta.2", path = "../p256", features = [
"expose-hacl",
] }
libcrux-sha2 = { version = "=0.0.2-beta.2", path = "../sha2" }
rand = { version = "0.8", optional = true }
rand = { version = "0.9", optional = true }

[features]
default = ["rand"]
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-curve25519 = { version = "=0.0.2-beta.2", path = "../curve25519" }
libcrux-p256 = { version = "=0.0.2-beta.2", path = "../p256", features = [
"expose-hacl",
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 @@ -22,7 +22,7 @@ classic-mceliece-rust = { version = "2.0.0", features = [
"mceliece460896f",
"zeroize",
], optional = true }
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
2 changes: 1 addition & 1 deletion traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ repository.workspace = true
readme.workspace = true

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