Skip to content

Commit

Permalink
Update outdated dependencies (#474)
Browse files Browse the repository at this point in the history
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
  • Loading branch information
koushiro committed Jun 16, 2021
1 parent 23c59f7 commit 6cf97ea
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion prost-types/Cargo.toml
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion protobuf/Cargo.toml
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests-2015/Cargo.toml
Expand Up @@ -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" }
Expand All @@ -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" }
4 changes: 2 additions & 2 deletions tests-no-std/Cargo.toml
Expand Up @@ -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" }
Expand All @@ -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" }
5 changes: 2 additions & 3 deletions tests/Cargo.toml
Expand Up @@ -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" }
Expand All @@ -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" }

0 comments on commit 6cf97ea

Please sign in to comment.