Switch from the deprecated rand-os crate to getrandom.

This commit is contained in:
Emmanuel Gil Peyrot 2020-02-25 22:32:03 +01:00
commit 21e9c8e660
3 changed files with 5 additions and 9 deletions

View file

@ -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)]