Skip to content

Commit

Permalink
Update prost to 0.8 (tikv#544)
Browse files Browse the repository at this point in the history
Signed-off-by: pingyu <shui.yu@126.com>
  • Loading branch information
pingyu authored and christian-oudard committed Oct 20, 2021
1 parent f921f76 commit b24345f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ grpcio-sys = { path = "grpc-sys", version = "0.9", default-features = false }
libc = "0.2"
futures = "0.3"
protobuf = { version = "2.0", optional = true }
prost = { version = "0.7", optional = true }
prost = { version = "0.8", optional = true }
bytes = { version = "1.0", optional = true }
log = "0.4"
parking_lot = "0.11"
Expand Down
6 changes: 3 additions & 3 deletions compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ prost-codec = ["prost-build", "prost-types", "prost", "derive-new", "tempfile"]

[dependencies]
protobuf = { version = "2", optional = true }
prost = { version = "0.7", optional = true }
prost-build = { version = "0.7", optional = true }
prost-types = { version = "0.7", optional = true }
prost = { version = "0.8", optional = true }
prost-build = { version = "0.8", optional = true }
prost-types = { version = "0.8", optional = true }
derive-new = { version = "0.5", optional = true }
tempfile = { version = "3.0", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion health/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ use-bindgen = ["grpcio/use-bindgen"]
[dependencies]
futures = "0.3"
grpcio = { path = "..", features = ["secure"], version = "0.9.0", default-features = false }
prost = { version = "0.7", optional = true }
prost = { version = "0.8", optional = true }
protobuf = { version = "2", optional = true }
log = "0.4"
8 changes: 4 additions & 4 deletions proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ use-bindgen = ["grpcio/use-bindgen"]
futures = "0.3"
grpcio = { path = "..", features = ["secure"], version = "0.9.0", default-features = false }
bytes = { version = "1.0", optional = true }
prost = { version = "0.7", optional = true }
prost-derive = { version = "0.7", optional = true }
prost-types = { version = "0.7", optional = true }
prost = { version = "0.8", optional = true }
prost-derive = { version = "0.8", optional = true }
prost-types = { version = "0.8", optional = true }
protobuf = "2"
lazy_static = { version = "1.3", optional = true }

[build-dependencies]
protobuf-build = { version = "0.12", default-features = false }
protobuf-build = { version = ">=0.12", default-features = false }
walkdir = "2.2"
2 changes: 1 addition & 1 deletion tests-and-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ libc = "0.2"
futures = "0.3"
futures-timer = "3.0"
protobuf = { version = "2.22", optional = true }
prost = { version = "0.7", optional = true }
prost = { version = "0.8", optional = true }
bytes = { version = "1.0", optional = true }
log = "0.4"
grpcio = { path = "..", version = "0.9", default-features = false, features = ["secure"] }
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost-build = "0.7"
prost-build = "0.8"
# Use an old enough version to make sure generated code with TiKV's fork.
# TODO: use latest one when TiKV's fork is updated
protoc-rust = "=2.8"

0 comments on commit b24345f

Please sign in to comment.