Skip to content

Commit c14675b

Browse files
committed
chore: update for rand_core v0.10
1 parent ee56598 commit c14675b

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

securedrop-protocol/Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

securedrop-protocol/bench/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ getrandom = { version = "0.3", default-features = false, features = ["wasm_js"]
1818
getrandom04 = { package = "getrandom", version = "0.4", default-features = false, features = ["wasm_js"] }
1919

2020
js-sys = "0.3"
21-
rand_chacha = { version = "0.9.0", default-features = false }
22-
rand_core = { version = "0.9.3" }
21+
rand_chacha = { version = "0.10.0", default-features = false }
22+
rand_core = { version = "0.10" }
2323
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
2424
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
2525
hashbrown = { version = "0.14", features = ["raw"] }

securedrop-protocol/bench/benches/manual.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::env;
33
use std::time::{Duration, Instant};
44

55
use rand_chacha::ChaCha20Rng;
6-
use rand_core::{RngCore, SeedableRng};
6+
use rand_core::{Rng, SeedableRng};
77
use serde::Serialize;
88
use uuid::Uuid;
99

securedrop-protocol/protocol-minimal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ argon2 = "0.5"
4040
blake2 = "0.10"
4141

4242
# pin an exact version to resolve wasm-bindgen schema compatibility issue
43-
rand_chacha = { version = "0.9.0", default-features = false }
43+
rand_chacha = { version = "0.10.0", default-features = false }
4444

4545
[dev-dependencies]
4646
proptest = "1.11"

securedrop-protocol/protocol-minimal/src/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ mod tests {
229229
use super::*;
230230
use crate::primitives::xwing::XWING_PRIVATE_KEY_LEN;
231231
use rand_chacha::ChaCha20Rng;
232-
use rand_core::SeedableRng;
232+
use rand_core::{Rng, SeedableRng};
233233

234234
#[test]
235235
fn test_initialize_with_passphrase() {

0 commit comments

Comments
 (0)