Use at most 2.3 of fake to get rand 0.7.

This commit is contained in:
LukeMathWalker 2021-01-03 18:13:45 +00:00
parent 7fdb2151e0
commit 95061149da
2 changed files with 18 additions and 58 deletions

72
Cargo.lock generated
View file

@ -72,7 +72,7 @@ dependencies = [
"mime",
"percent-encoding",
"pin-project 1.0.2",
"rand 0.7.3",
"rand",
"regex",
"serde",
"serde_json",
@ -361,7 +361,7 @@ dependencies = [
"log",
"mime",
"percent-encoding",
"rand 0.7.3",
"rand",
"serde",
"serde_json",
"serde_urlencoded",
@ -757,11 +757,11 @@ dependencies = [
[[package]]
name = "fake"
version = "2.4.0"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "704749d52f737f28d7a632d4608db4005822efbb5a1c673c159f1193c9e63832"
checksum = "6479fa2c7e83ddf8be7d435421e093b072ca891b99a49bc84eba098f4044f818"
dependencies = [
"rand 0.8.0",
"rand",
]
[[package]]
@ -1750,8 +1750,8 @@ checksum = "a44883e74aa97ad63db83c4bf8ca490f02b2fc02f92575e720c8551e843c945f"
dependencies = [
"env_logger",
"log",
"rand 0.7.3",
"rand_core 0.5.1",
"rand",
"rand_core",
]
[[package]]
@ -1788,21 +1788,9 @@ checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
dependencies = [
"getrandom 0.1.16",
"libc",
"rand_chacha 0.2.2",
"rand_core 0.5.1",
"rand_hc 0.2.0",
]
[[package]]
name = "rand"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a76330fb486679b4ace3670f117bbc9e16204005c4bde9c4bd372f45bed34f12"
dependencies = [
"libc",
"rand_chacha 0.3.0",
"rand_core 0.6.0",
"rand_hc 0.3.0",
"rand_chacha",
"rand_core",
"rand_hc",
]
[[package]]
@ -1812,17 +1800,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
dependencies = [
"ppv-lite86",
"rand_core 0.5.1",
]
[[package]]
name = "rand_chacha"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d"
dependencies = [
"ppv-lite86",
"rand_core 0.6.0",
"rand_core",
]
[[package]]
@ -1834,31 +1812,13 @@ dependencies = [
"getrandom 0.1.16",
]
[[package]]
name = "rand_core"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8b34ba8cfb21243bd8df91854c830ff0d785fff2e82ebd4434c2644cb9ada18"
dependencies = [
"getrandom 0.2.0",
]
[[package]]
name = "rand_hc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
dependencies = [
"rand_core 0.5.1",
]
[[package]]
name = "rand_hc"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
dependencies = [
"rand_core 0.6.0",
"rand_core",
]
[[package]]
@ -2291,7 +2251,7 @@ dependencies = [
"once_cell",
"parking_lot",
"percent-encoding",
"rand 0.7.3",
"rand",
"rustls",
"serde",
"sha-1 0.9.2",
@ -2450,7 +2410,7 @@ checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
dependencies = [
"cfg-if 0.1.10",
"libc",
"rand 0.7.3",
"rand",
"redox_syscall",
"remove_dir_all",
"winapi 0.3.9",
@ -2763,7 +2723,7 @@ dependencies = [
"idna",
"lazy_static",
"log",
"rand 0.7.3",
"rand",
"smallvec",
"thiserror",
"tokio",
@ -2877,7 +2837,7 @@ version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11"
dependencies = [
"rand 0.7.3",
"rand",
]
[[package]]

View file

@ -30,11 +30,11 @@ tracing-actix-web = "0.2.0"
serde-aux = "1.0.1"
unicode-segmentation = "1.7.1"
validator = "0.12.0"
quickcheck_macros = "0.9.1"
[dev-dependencies]
reqwest = { version = "0.10.7", features = ["json"] }
lazy_static = "1.4.0"
claim = "0.4.0"
quickcheck = "0.9.2"
fake = "2.3.0"
quickcheck_macros = "0.9.1"
fake = "~2.3.0"