chore: update more dependencies (#145)

* update more dependencies

* cargo fmt

* address review comments

* fix format
This commit is contained in:
raphaelrobert
2026-01-25 14:37:55 -08:00
committed by GitHub
parent f23cdfab2d
commit a22d46fd96
10 changed files with 88 additions and 47 deletions
+1 -7
View File
@@ -9,7 +9,7 @@
use alloc::vec::Vec;
use core::cmp::min;
use rand_core::{CryptoRng, Error, RngCore};
use rand_core::{CryptoRng, RngCore};
/// A simple implementation of `RngCore` for testing purposes.
///
@@ -54,12 +54,6 @@ impl RngCore for CycleRng {
dest[..len].copy_from_slice(&self.v[..len]);
rotate_left(&mut self.v, len);
}
#[inline]
fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
self.fill_bytes(dest);
Ok(())
}
}
// This is meant for testing only