balance: Upgrade rand to 0.7 (#398)

This commit is contained in:
Lucio Franco 2019-12-19 13:44:07 -05:00 committed by GitHub
parent 2dc9a72bea
commit 2fede40bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ futures-core = "0.3"
pin-project = "0.4"
indexmap = "1.0.2"
tracing = "0.1"
rand = "0.6.5"
rand = { version = "0.7", features = ["small_rng"] }
tokio = { version = "0.2", features = ["sync", "time"] }
tower-discover = { version = "0.3", path = "../tower-discover" }
tower-layer = "0.3"

View File

@ -1,5 +1,5 @@
use super::BalanceMake;
use rand::{rngs::SmallRng, FromEntropy, Rng, SeedableRng};
use rand::{rngs::SmallRng, Rng, SeedableRng};
use std::{fmt, marker::PhantomData};
use tower_layer::Layer;

View File

@ -2,7 +2,7 @@ use super::Balance;
use crate::error;
use futures_core::ready;
use pin_project::pin_project;
use rand::{rngs::SmallRng, FromEntropy};
use rand::{rngs::SmallRng, SeedableRng};
use std::marker::PhantomData;
use std::{
future::Future,

View File

@ -2,7 +2,7 @@ use crate::error;
use futures_core::ready;
use futures_util::future::{self, TryFutureExt};
use pin_project::pin_project;
use rand::{rngs::SmallRng, FromEntropy};
use rand::{rngs::SmallRng, SeedableRng};
use std::marker::PhantomData;
use std::{
fmt,