balance: Update rand to 0.7 (#363)
This commit is contained in:
parent
e414b2b7d3
commit
4a4593d522
|
@ -29,8 +29,8 @@ default = ["log"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.1.26"
|
futures = "0.1.26"
|
||||||
indexmap = "1.0.2"
|
indexmap = "1.0.2"
|
||||||
tracing = "0.1"
|
rand = { version = "0.7", features = ["small_rng"] }
|
||||||
rand = "0.6.5"
|
slab = "0.4"
|
||||||
tokio-sync = "0.1.3"
|
tokio-sync = "0.1.3"
|
||||||
tokio-timer = "0.2.4"
|
tokio-timer = "0.2.4"
|
||||||
tower-discover = "0.1.0"
|
tower-discover = "0.1.0"
|
||||||
|
@ -38,7 +38,7 @@ tower-layer = "0.1.0"
|
||||||
tower-load = { version = "0.1.0", path = "../tower-load" }
|
tower-load = { version = "0.1.0", path = "../tower-load" }
|
||||||
tower-service = "0.2.0"
|
tower-service = "0.2.0"
|
||||||
tower-util = "0.1.0"
|
tower-util = "0.1.0"
|
||||||
slab = "0.4"
|
tracing = "0.1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tracing-subscriber = "0.1.3"
|
tracing-subscriber = "0.1.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;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use super::Balance;
|
use super::Balance;
|
||||||
use futures::{try_ready, Future, Poll};
|
use futures::{try_ready, Future, Poll};
|
||||||
use rand::{rngs::SmallRng, FromEntropy};
|
use rand::{rngs::SmallRng, SeedableRng};
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use tower_discover::Discover;
|
use tower_discover::Discover;
|
||||||
use tower_service::Service;
|
use tower_service::Service;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use crate::error;
|
use crate::error;
|
||||||
use futures::{future, stream, try_ready, Async, Future, Poll, Stream};
|
use futures::{future, stream, try_ready, Async, Future, Poll, Stream};
|
||||||
use indexmap::IndexMap;
|
use indexmap::IndexMap;
|
||||||
use rand::{rngs::SmallRng, FromEntropy};
|
use rand::{rngs::SmallRng, SeedableRng};
|
||||||
use tokio_sync::oneshot;
|
use tokio_sync::oneshot;
|
||||||
use tower_discover::{Change, Discover};
|
use tower_discover::{Change, Discover};
|
||||||
use tower_load::Load;
|
use tower_load::Load;
|
||||||
|
|
Loading…
Reference in New Issue