Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prost to 0.12 #631

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased (0.14.0)

- Update prost to 0.12 (#631)

# 0.13.0 - 2023-08-17

- Publicize prost service generator (#612)
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio"
version = "0.13.0"
version = "0.14.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -23,7 +23,7 @@ futures-executor = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std", "sink"] }
protobuf = { version = "2.0", optional = true }
protobufv3 = { package = "protobuf", version = "3.2", optional = true }
prost = { version = "0.11", optional = true }
prost = { version = "0.12", optional = true }
bytes = { version = "1.0", optional = true }
log = "0.4"
parking_lot = "0.12"
Expand Down Expand Up @@ -57,4 +57,4 @@ no-omit-frame-pointer = ["grpcio-sys/no-omit-frame-pointer"]
travis-ci = { repository = "tikv/grpc-rs" }

[patch.crates-io]
grpcio-compiler = { path = "compiler", version = "0.13.0" }
grpcio-compiler = { path = "compiler", version = "0.14.0" }
8 changes: 4 additions & 4 deletions compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-compiler"
version = "0.13.0"
version = "0.14.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -18,9 +18,9 @@ prost-codec = ["prost-build", "prost-types", "prost", "derive-new", "tempfile"]

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

Expand Down
6 changes: 3 additions & 3 deletions health/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-health"
version = "0.13.0"
version = "0.14.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -21,8 +21,8 @@ prost-codec = ["grpcio/prost-codec", "prost"]
[dependencies]
futures-executor = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std"] }
grpcio = { path = "..", version = "0.13.0", default-features = false }
prost = { version = "0.11", optional = true }
grpcio = { path = "..", version = "0.14", default-features = false }
prost = { version = "0.12", optional = true }
protobuf = { version = "2", optional = true }
protobufv3 = { package = "protobuf", version = "3.2", optional = true }
log = "0.4"
12 changes: 6 additions & 6 deletions proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grpcio-proto"
version = "0.13.0"
version = "0.14.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
Expand All @@ -18,15 +18,15 @@ protobufv3-codec = ["grpcio/protobufv3-codec", "protobufv3"]
prost-codec = ["prost-build", "prost-derive", "prost-types", "bytes", "lazy_static", "grpcio/prost-codec", "prost"]

[dependencies]
grpcio = { path = "..", features = ["boringssl"], version = "0.13.0", default-features = false }
grpcio = { path = "..", features = ["boringssl"], version = "0.14", default-features = false }
bytes = { version = "1.0", optional = true }
prost = { version = "0.11", optional = true }
prost-derive = { version = "0.11", optional = true }
prost-types = { version = "0.11", optional = true }
prost = { version = "0.12", optional = true }
prost-derive = { version = "0.12", optional = true }
prost-types = { version = "0.12", optional = true }
protobuf = { version = "2", optional = true }
protobufv3 = { package = "protobuf", version = "3.2", optional = true }
lazy_static = { version = "1.3", optional = true }

[build-dependencies]
prost-build = { version = "0.11", optional = true }
prost-build = { version = "0.12", optional = true }
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 @@ -20,7 +20,7 @@ futures-util = { version = "0.3", features = ["sink"] }
futures-timer = "3.0"
protobuf = { version = "2", optional = true }
protobufv3 = { package = "protobuf", version = "3.2", optional = true }
prost = { version = "0.11", optional = true }
prost = { version = "0.12", optional = true }
bytes = { version = "1.0", optional = true }
log = "0.4"
grpcio = { path = "..", default-features = false, features = ["boringssl"] }
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.11"
prost-build = "0.12"
# 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"
Expand Down
Loading