Switch from the deprecated rand-os crate to getrandom.
This commit is contained in:
parent
7d78455981
commit
21e9c8e660
3 changed files with 5 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#[cfg(feature = "scram")]
|
||||
use rand_os::rand_core::Error as RngError;
|
||||
use getrandom::Error as RngError;
|
||||
|
||||
/// A wrapper enum for things that could go wrong in this crate.
|
||||
#[derive(Debug)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue