mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-21 02:33:23 +00:00
Upgrade to rand 0.6
This commit is contained in:
@@ -26,7 +26,7 @@ constant_time_eq = "0.1"
|
||||
failure = "0.1"
|
||||
fnv = "1.0.6"
|
||||
lazy_static = "1"
|
||||
rand = "0.5"
|
||||
rand = "0.6"
|
||||
ring = "0.13"
|
||||
rustls = { version = "0.14", features = ["quic"] }
|
||||
slab = "0.4"
|
||||
|
||||
@@ -6,7 +6,7 @@ use std::{cmp, io};
|
||||
use bytes::{Bytes, BytesMut};
|
||||
use fnv::{FnvHashMap, FnvHashSet};
|
||||
use rand::distributions::Distribution;
|
||||
use rand::{distributions, OsRng, Rng, RngCore};
|
||||
use rand::{distributions, rngs::OsRng, Rng, RngCore};
|
||||
use slab::Slab;
|
||||
use slog::{self, Logger};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user