mirror of https://github.com/fafhrd91/actix-web
Update rand to 0.6
This commit is contained in:
parent
08c7743bb8
commit
c31e950309
|
@ -76,7 +76,7 @@ mime = "0.3"
|
||||||
mime_guess = "2.0.0-alpha"
|
mime_guess = "2.0.0-alpha"
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
percent-encoding = "1.0"
|
percent-encoding = "1.0"
|
||||||
rand = "0.5"
|
rand = "0.6"
|
||||||
regex = "1.0"
|
regex = "1.0"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
|
@ -179,7 +179,7 @@ fn test_client_gzip_encoding_large() {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_client_gzip_encoding_large_random() {
|
fn test_client_gzip_encoding_large_random() {
|
||||||
let data = rand::thread_rng()
|
let data = rand::thread_rng()
|
||||||
.gen_ascii_chars()
|
.sample_iter(&rand::distributions::Alphanumeric)
|
||||||
.take(100_000)
|
.take(100_000)
|
||||||
.collect::<String>();
|
.collect::<String>();
|
||||||
|
|
||||||
|
@ -247,7 +247,7 @@ fn test_client_brotli_encoding() {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_client_brotli_encoding_large_random() {
|
fn test_client_brotli_encoding_large_random() {
|
||||||
let data = rand::thread_rng()
|
let data = rand::thread_rng()
|
||||||
.gen_ascii_chars()
|
.sample_iter(&rand::distributions::Alphanumeric)
|
||||||
.take(70_000)
|
.take(70_000)
|
||||||
.collect::<String>();
|
.collect::<String>();
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@ fn test_client_deflate_encoding() {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_client_deflate_encoding_large_random() {
|
fn test_client_deflate_encoding_large_random() {
|
||||||
let data = rand::thread_rng()
|
let data = rand::thread_rng()
|
||||||
.gen_ascii_chars()
|
.sample_iter(&rand::distributions::Alphanumeric)
|
||||||
.take(70_000)
|
.take(70_000)
|
||||||
.collect::<String>();
|
.collect::<String>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue