mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-11 08:35:34 +00:00
build(deps): update to rand 0.9 is possible
Except for code using ed25519-dalek, since we are blocked by them. Also tweak RNG source so only key generation uses `OsRng`. PoW nonce generation only need unpredictability thus `ThreadRng` suffices. See: https://github.com/dalek-cryptography/curve25519-dalek/issues/731
This commit is contained in:
parent
172559973b
commit
40e4a53886
8 changed files with 20 additions and 17 deletions
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -224,6 +224,7 @@ dependencies = [
|
|||
"html-escape",
|
||||
"mock_instant",
|
||||
"rand 0.8.5",
|
||||
"rand 0.9.0",
|
||||
"rusqlite",
|
||||
"schemars",
|
||||
"serde",
|
||||
|
@ -274,7 +275,7 @@ dependencies = [
|
|||
"mock_instant",
|
||||
"parking_lot",
|
||||
"paste",
|
||||
"rand 0.8.5",
|
||||
"rand 0.9.0",
|
||||
"reqwest",
|
||||
"rstest",
|
||||
"rusqlite",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue