Skip to content

Commit

Permalink
rand 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Jun 28, 2019
1 parent 411e0bf commit 20ac47d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hdrhistogram"
version = "6.3.3"
version = "6.3.4"
edition = "2018"

description = "A port of HdrHistogram to Rust"
Expand Down Expand Up @@ -39,7 +39,7 @@ base64 = { version = "0.10", optional = true }
crossbeam-channel = { version = "0.3", optional = true }

[dev-dependencies]
rand = "0.6"
rand = { version = "0.7", features = ["small_rng"] }
rug = "1.2"
ieee754 = "0.2.2"
clap = "2.26.2"
Expand Down
2 changes: 1 addition & 1 deletion benches/interval_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::time;
use hdrhistogram::serialization;
use hdrhistogram::serialization::interval_log;
use hdrhistogram::*;
use rand::FromEntropy;
use rand::SeedableRng;
use test::Bencher;

use self::rand_varint::*;
Expand Down
2 changes: 1 addition & 1 deletion benches/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use self::test::Bencher;
use hdrhistogram::*;
use rand::FromEntropy;
use rand::SeedableRng;

use self::rand_varint::*;

Expand Down
2 changes: 1 addition & 1 deletion benches/serialization.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#![feature(test)]

use self::rand::FromEntropy;
use self::test::Bencher;
use hdrhistogram::serialization::*;
use hdrhistogram::*;
use rand::SeedableRng;
use std::io::Cursor;

use self::rand_varint::*;
Expand Down
2 changes: 1 addition & 1 deletion src/serialization/benchmarks.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use self::rand::distributions::uniform::Uniform;
use self::rand::distributions::Distribution;
use self::rand::FromEntropy;
use self::rand::SeedableRng;
use self::test::Bencher;
use super::deserializer::{varint_read, varint_read_slice};
use super::v2_serializer::varint_write;
Expand Down
2 changes: 1 addition & 1 deletion src/serialization/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use byteorder::{BigEndian, ReadBytesExt};
use num_traits::ToPrimitive;
use rand::distributions::uniform::{SampleUniform, Uniform};
use rand::distributions::Distribution;
use rand::{FromEntropy, Rng};
use rand::{Rng, SeedableRng};
use std::fmt::{Debug, Display};
use std::io::Cursor;
use std::iter::once;
Expand Down
2 changes: 1 addition & 1 deletion tests/histogram.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Tests from HistogramTest.java
use rand::{FromEntropy, Rng};
use rand::{Rng, SeedableRng};

use hdrhistogram::{Counter, Histogram, SubtractionError};
use std::borrow::Borrow;
Expand Down

0 comments on commit 20ac47d

Please sign in to comment.