1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00

Update some dependencies (#612)

* Update rand to 0.6

* Update parking_lot to 0.7

* Update env_logger to 0.6
This commit is contained in:
silwol 2018-12-04 07:58:22 +01:00 committed by Douman
parent 08c7743bb8
commit b1635bc0e6
2 changed files with 6 additions and 6 deletions

View File

@ -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"
@ -87,7 +87,7 @@ encoding = "0.2"
language-tags = "0.2" language-tags = "0.2"
lazy_static = "1.0" lazy_static = "1.0"
lazycell = "1.0.0" lazycell = "1.0.0"
parking_lot = "0.6" parking_lot = "0.7"
serde_urlencoded = "^0.5.3" serde_urlencoded = "^0.5.3"
url = { version="1.7", features=["query_encoding"] } url = { version="1.7", features=["query_encoding"] }
cookie = { version="0.11", features=["percent-encode"] } cookie = { version="0.11", features=["percent-encode"] }
@ -127,7 +127,7 @@ webpki-roots = { version = "0.15", optional = true }
tokio-uds = { version="0.2", optional = true } tokio-uds = { version="0.2", optional = true }
[dev-dependencies] [dev-dependencies]
env_logger = "0.5" env_logger = "0.6"
serde_derive = "1.0" serde_derive = "1.0"
[build-dependencies] [build-dependencies]

View File

@ -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>();