Update rand to 0.6

This commit is contained in:
Wolfgang Silbermayr 2018-12-03 19:19:16 +01:00
parent 08c7743bb8
commit c31e950309
2 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ mime = "0.3"
mime_guess = "2.0.0-alpha"
num_cpus = "1.0"
percent-encoding = "1.0"
rand = "0.5"
rand = "0.6"
regex = "1.0"
serde = "1.0"
serde_json = "1.0"

View File

@ -179,7 +179,7 @@ fn test_client_gzip_encoding_large() {
#[test]
fn test_client_gzip_encoding_large_random() {
let data = rand::thread_rng()
.gen_ascii_chars()
.sample_iter(&rand::distributions::Alphanumeric)
.take(100_000)
.collect::<String>();
@ -247,7 +247,7 @@ fn test_client_brotli_encoding() {
#[test]
fn test_client_brotli_encoding_large_random() {
let data = rand::thread_rng()
.gen_ascii_chars()
.sample_iter(&rand::distributions::Alphanumeric)
.take(70_000)
.collect::<String>();
@ -309,7 +309,7 @@ fn test_client_deflate_encoding() {
#[test]
fn test_client_deflate_encoding_large_random() {
let data = rand::thread_rng()
.gen_ascii_chars()
.sample_iter(&rand::distributions::Alphanumeric)
.take(70_000)
.collect::<String>();