Commit c1cb2140 authored by Jeremy Soller's avatar Jeremy Soller

Merge branch 'use-rand-os' into 'master'

Replace rand 0.5 with rand_os 0.1

See merge request !27
parents b540699f ad132482
Pipeline #2820 failed with stages
in 2 minutes and 55 seconds
......@@ -11,6 +11,6 @@ keywords = ["redox", "auth"]
[dependencies]
argon2rs = { version = "0.2", default-features = false }
rand = "0.5"
rand_os = "0.1"
redox_syscall = "0.1"
failure = "0.1.1"
......@@ -27,7 +27,7 @@
//! software.
extern crate argon2rs;
extern crate rand;
extern crate rand_os;
extern crate syscall;
#[macro_use]
extern crate failure;
......@@ -48,8 +48,8 @@ use std::time::Duration;
use argon2rs::verifier::Encoded;
use argon2rs::{Argon2, Variant};
use failure::Error;
use rand::RngCore;
use rand::os::OsRng;
use rand_os::OsRng;
use rand_os::rand_core::RngCore;
use syscall::Error as SyscallError;
#[cfg(target_os = "redox")]
use syscall::flag::{O_EXLOCK, O_SHLOCK};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment