diff --git a/third_party/prost/protobuf/Cargo.toml b/third_party/prost/protobuf/Cargo.toml index 0885b6d8bd5..72679605dff 100644 --- a/third_party/prost/protobuf/Cargo.toml +++ b/third_party/prost/protobuf/Cargo.toml @@ -20,7 +20,7 @@ tempfile = "3" [dev-dependencies] criterion = "0.3" -cfg-if = "0.1" +cfg-if = "1.0" [lib] # https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options diff --git a/third_party/prost/tests-2015/Cargo.toml b/third_party/prost/tests-2015/Cargo.toml index 9e274b2a300..ba940578dc6 100644 --- a/third_party/prost/tests-2015/Cargo.toml +++ b/third_party/prost/tests-2015/Cargo.toml @@ -19,7 +19,7 @@ std = [] [dependencies] anyhow = "1" bytes = "1" -cfg-if = "0.1" +cfg-if = "1.0" 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.0" env_logger = { version = "0.8", default-features = false } prost-build = { path = "../prost-build" } protobuf = { path = "../protobuf" } diff --git a/third_party/prost/tests-no-std/Cargo.toml b/third_party/prost/tests-no-std/Cargo.toml index a619dd2a084..1d373fa6f93 100644 --- a/third_party/prost/tests-no-std/Cargo.toml +++ b/third_party/prost/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.0" 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.0" env_logger = { version = "0.8", default-features = false } prost-build = { path = "../prost-build" } protobuf = { path = "../protobuf" } diff --git a/third_party/prost/tests/Cargo.toml b/third_party/prost/tests/Cargo.toml index e369e99660a..6e31f535b2f 100644 --- a/third_party/prost/tests/Cargo.toml +++ b/third_party/prost/tests/Cargo.toml @@ -14,7 +14,7 @@ std = [] [dependencies] anyhow = "1" bytes = "1" -cfg-if = "0.1" +cfg-if = "1.0" prost = { path = ".." } prost-types = { path = "../prost-types" } protobuf = { path = "../protobuf" } @@ -26,7 +26,7 @@ tempfile = "3" remove_dir_all = "0.6" [build-dependencies] -cfg-if = "0.1" +cfg-if = "1.0" env_logger = { version = "0.8", default-features = false } prost-build = { path = "../prost-build" } protobuf = { path = "../protobuf" }