From d799c6212a0a51629c3ca21d11223cc03a64bd4e Mon Sep 17 00:00:00 2001 From: koushiro Date: Sat, 8 May 2021 11:14:56 +0800 Subject: [PATCH] Update outdated dependencies Signed-off-by: koushiro --- Cargo.toml | 2 +- prost-types/Cargo.toml | 2 +- protobuf/Cargo.toml | 2 +- tests-2015/Cargo.toml | 4 ++-- tests-no-std/Cargo.toml | 4 ++-- tests/Cargo.toml | 5 ++--- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 05e17af4d..ebdb76256 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ prost-derive = { version = "0.7.0", path = "prost-derive", optional = true } criterion = "0.3" env_logger = { version = "0.8", default-features = false } log = "0.4" -proptest = "0.10" +proptest = "1" rand = "0.8" [profile.bench] diff --git a/prost-types/Cargo.toml b/prost-types/Cargo.toml index 22d6b0642..c531cf28b 100644 --- a/prost-types/Cargo.toml +++ b/prost-types/Cargo.toml @@ -21,4 +21,4 @@ bytes = { version = "1", default-features = false } prost = { version = "0.7.0", path = "..", default-features = false, features = ["prost-derive"] } [dev-dependencies] -proptest = "0.9" +proptest = "1" diff --git a/protobuf/Cargo.toml b/protobuf/Cargo.toml index 0885b6d8b..824a8cd9b 100644 --- a/protobuf/Cargo.toml +++ b/protobuf/Cargo.toml @@ -20,7 +20,7 @@ tempfile = "3" [dev-dependencies] criterion = "0.3" -cfg-if = "0.1" +cfg-if = "1" [lib] # https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options diff --git a/tests-2015/Cargo.toml b/tests-2015/Cargo.toml index 9e274b2a3..efb56abdf 100644 --- a/tests-2015/Cargo.toml +++ b/tests-2015/Cargo.toml @@ -19,7 +19,7 @@ std = [] [dependencies] anyhow = "1" bytes = "1" -cfg-if = "0.1" +cfg-if = "1" prost = { path = ".." } prost-types = { path = "../prost-types" } protobuf = { path = "../protobuf" } @@ -30,7 +30,7 @@ prost-build = { path = "../prost-build" } tempfile = "3" [build-dependencies] -cfg-if = "0.1" +cfg-if = "1" env_logger = { version = "0.8", default-features = false } prost-build = { path = "../prost-build" } protobuf = { path = "../protobuf" } diff --git a/tests-no-std/Cargo.toml b/tests-no-std/Cargo.toml index a619dd2a0..1954d281c 100644 --- a/tests-no-std/Cargo.toml +++ b/tests-no-std/Cargo.toml @@ -20,7 +20,7 @@ path = "../tests/src/lib.rs" [dependencies] anyhow = { version = "1", default-features = false } bytes = { version = "1", default-features = false } -cfg-if = "0.1" +cfg-if = "1" prost = { path = "..", default-features = false, features = ["prost-derive"] } prost-types = { path = "../prost-types", default-features = false } protobuf = { path = "../protobuf" } @@ -31,7 +31,7 @@ prost-build = { path = "../prost-build" } tempfile = "3" [build-dependencies] -cfg-if = "0.1" +cfg-if = "1" env_logger = { version = "0.8", default-features = false } prost-build = { path = "../prost-build" } protobuf = { path = "../protobuf" } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index e369e9966..726a59137 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -14,7 +14,7 @@ std = [] [dependencies] anyhow = "1" bytes = "1" -cfg-if = "0.1" +cfg-if = "1" prost = { path = ".." } prost-types = { path = "../prost-types" } protobuf = { path = "../protobuf" } @@ -23,10 +23,9 @@ protobuf = { path = "../protobuf" } diff = "0.1" prost-build = { path = "../prost-build" } tempfile = "3" -remove_dir_all = "0.6" [build-dependencies] -cfg-if = "0.1" +cfg-if = "1" env_logger = { version = "0.8", default-features = false } prost-build = { path = "../prost-build" } protobuf = { path = "../protobuf" }