balance: Upgrade rand to 0.7 (#398)
This commit is contained in:
parent
2dc9a72bea
commit
2fede40bdb
|
@ -31,7 +31,7 @@ futures-core = "0.3"
|
||||||
pin-project = "0.4"
|
pin-project = "0.4"
|
||||||
indexmap = "1.0.2"
|
indexmap = "1.0.2"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
rand = "0.6.5"
|
rand = { version = "0.7", features = ["small_rng"] }
|
||||||
tokio = { version = "0.2", features = ["sync", "time"] }
|
tokio = { version = "0.2", features = ["sync", "time"] }
|
||||||
tower-discover = { version = "0.3", path = "../tower-discover" }
|
tower-discover = { version = "0.3", path = "../tower-discover" }
|
||||||
tower-layer = "0.3"
|
tower-layer = "0.3"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use super::BalanceMake;
|
use super::BalanceMake;
|
||||||
use rand::{rngs::SmallRng, FromEntropy, Rng, SeedableRng};
|
use rand::{rngs::SmallRng, Rng, SeedableRng};
|
||||||
use std::{fmt, marker::PhantomData};
|
use std::{fmt, marker::PhantomData};
|
||||||
use tower_layer::Layer;
|
use tower_layer::Layer;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ use super::Balance;
|
||||||
use crate::error;
|
use crate::error;
|
||||||
use futures_core::ready;
|
use futures_core::ready;
|
||||||
use pin_project::pin_project;
|
use pin_project::pin_project;
|
||||||
use rand::{rngs::SmallRng, FromEntropy};
|
use rand::{rngs::SmallRng, SeedableRng};
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use std::{
|
use std::{
|
||||||
future::Future,
|
future::Future,
|
||||||
|
|
|
@ -2,7 +2,7 @@ use crate::error;
|
||||||
use futures_core::ready;
|
use futures_core::ready;
|
||||||
use futures_util::future::{self, TryFutureExt};
|
use futures_util::future::{self, TryFutureExt};
|
||||||
use pin_project::pin_project;
|
use pin_project::pin_project;
|
||||||
use rand::{rngs::SmallRng, FromEntropy};
|
use rand::{rngs::SmallRng, SeedableRng};
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use std::{
|
use std::{
|
||||||
fmt,
|
fmt,
|
||||||
|
|
Loading…
Reference in New Issue