balance: Update rand to 0.7 (#363)

This commit is contained in:
Oliver Gould 2019-11-09 14:30:44 -08:00 committed by GitHub
parent e414b2b7d3
commit 4a4593d522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -29,8 +29,8 @@ default = ["log"]
[dependencies]
futures = "0.1.26"
indexmap = "1.0.2"
tracing = "0.1"
rand = "0.6.5"
rand = { version = "0.7", features = ["small_rng"] }
slab = "0.4"
tokio-sync = "0.1.3"
tokio-timer = "0.2.4"
tower-discover = "0.1.0"
@ -38,7 +38,7 @@ tower-layer = "0.1.0"
tower-load = { version = "0.1.0", path = "../tower-load" }
tower-service = "0.2.0"
tower-util = "0.1.0"
slab = "0.4"
tracing = "0.1.0"
[dev-dependencies]
tracing-subscriber = "0.1.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

@ -1,6 +1,6 @@
use super::Balance;
use futures::{try_ready, Future, Poll};
use rand::{rngs::SmallRng, FromEntropy};
use rand::{rngs::SmallRng, SeedableRng};
use std::marker::PhantomData;
use tower_discover::Discover;
use tower_service::Service;

View File

@ -1,7 +1,7 @@
use crate::error;
use futures::{future, stream, try_ready, Async, Future, Poll, Stream};
use indexmap::IndexMap;
use rand::{rngs::SmallRng, FromEntropy};
use rand::{rngs::SmallRng, SeedableRng};
use tokio_sync::oneshot;
use tower_discover::{Change, Discover};
use tower_load::Load;