Skip to content

Commit

Permalink
feat: Update prost and friends to 0.9 (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Oct 19, 2021
1 parent 4604042 commit 09805ec
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Expand Up @@ -180,7 +180,7 @@ path = "src/streaming/server.rs"

[dependencies]
tonic = { path = "../tonic", features = ["tls", "compression"] }
prost = "0.8"
prost = "0.9"
tokio = { version = "1.0", features = ["rt-multi-thread", "time", "fs", "macros", "net"] }
tokio-stream = { version = "0.1", features = ["net"] }
async-stream = "0.3"
Expand All @@ -196,7 +196,7 @@ tracing-subscriber = { version = "0.2", features = ["tracing-log"] }
tracing-attributes = "0.1"
tracing-futures = "0.2"
# Required for wellknown types
prost-types = "0.8"
prost-types = "0.9"
# Hyper example
hyper = { version = "0.14", features = ["full"] }
warp = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions interop/Cargo.toml
Expand Up @@ -19,8 +19,8 @@ tokio = { version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"
tokio-stream = "0.1"
async-stream = "0.3"
tonic = { path = "../tonic", features = ["tls"] }
prost = "0.8"
prost-derive = "0.8"
prost = "0.9"
prost-derive = "0.9"
bytes = "1.0"
http = "0.2"
futures-core = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion tests/ambiguous_methods/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT"

[dependencies]
tonic = { path= "../../tonic" }
prost = "0.8"
prost = "0.9"

[build-dependencies]
tonic-build = { path= "../../tonic-build" }
2 changes: 1 addition & 1 deletion tests/compression/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ license = "MIT"

[dependencies]
tonic = { path = "../../tonic", features = ["compression"] }
prost = "0.8"
prost = "0.9"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net"] }
tower = { version = "0.4", features = [] }
http-body = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions tests/extern_path/my_application/Cargo.toml
Expand Up @@ -10,8 +10,8 @@ license = "MIT"

[dependencies]
tonic = { path= "../../../tonic" }
prost = "0.8"
prost-types = "0.8"
prost = "0.9"
prost-types = "0.9"
uuid = { package = "uuid1", path= "../uuid" }

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions tests/extern_path/uuid/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.8"
prost = "0.9"
bytes = "1.0"
[build-dependencies]
prost-build = "0.8"
prost-build = "0.9"
2 changes: 1 addition & 1 deletion tests/included_service/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT"

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"

[build-dependencies]
tonic-build = { path = "../../tonic-build" }
2 changes: 1 addition & 1 deletion tests/integration_tests/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT"

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
futures-util = "0.3"
bytes = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion tests/root-crate-path/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ license = "MIT"

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"

[build_dependencies]
tonic-build = { path = "../../tonic-build" }
2 changes: 1 addition & 1 deletion tests/same_name/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT"

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"

[build-dependencies]
tonic-build = { path = "../../tonic-build" }
2 changes: 1 addition & 1 deletion tests/service_named_service/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT"

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"

[build-dependencies]
tonic-build = { path = "../../tonic-build" }
2 changes: 1 addition & 1 deletion tests/stream_conflict/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ edition = "2018"

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"

[build-dependencies]
tonic-build = { path = "../../tonic-build" }
2 changes: 1 addition & 1 deletion tests/wellknown-compiled/Cargo.toml
Expand Up @@ -13,7 +13,7 @@ doctest = false

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"

[build-dependencies]
tonic-build = { path = "../../tonic-build" }
4 changes: 2 additions & 2 deletions tests/wellknown/Cargo.toml
Expand Up @@ -10,8 +10,8 @@ license = "MIT"

[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost-types = "0.8"
prost = "0.9"
prost-types = "0.9"

[build-dependencies]
tonic-build = { path = "../../tonic-build" }
6 changes: 3 additions & 3 deletions tonic-build/Cargo.toml
@@ -1,10 +1,10 @@
[package]
name = "tonic-build"
version = "0.5.2"
version = "0.6.0"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic-build/0.5.2/tonic_build/"
documentation = "https://docs.rs/tonic-build/0.6.0/tonic_build/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
description = """
Expand All @@ -16,7 +16,7 @@ keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]


[dependencies]
prost-build = { version = "0.8", optional = true }
prost-build = { version = "0.9", optional = true }
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions tonic-health/Cargo.toml
Expand Up @@ -20,14 +20,14 @@ transport = ["tonic/transport"]

[dependencies]
tokio = { version = "1.0", features = ["sync"] }
tonic = { version = "0.5", path = "../tonic", features = ["codegen", "prost"] }
tonic = { version = "0.6", path = "../tonic", features = ["codegen", "prost"] }
bytes = "1.0"
prost = "0.8"
prost = "0.9"
tokio-stream = "0.1"
async-stream = "0.3"

[dev-dependencies]
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"]}

[build-dependencies]
tonic-build = { version = "0.5", path = "../tonic-build" }
tonic-build = { version = "0.6", path = "../tonic-build" }
8 changes: 4 additions & 4 deletions tonic-reflection/Cargo.toml
Expand Up @@ -18,14 +18,14 @@ keywords = ["rpc", "grpc", "async", "reflection"]

[dependencies]
bytes = "1.0"
prost = "0.8"
prost-types = "0.8"
prost = "0.9"
prost-types = "0.9"
tokio = { version = "1.0", features = ["sync"] }
tokio-stream = { version = "0.1", features = ["net"] }
tonic = { version = "0.5", path = "../tonic", features = ["codegen", "prost"] }
tonic = { version = "0.6", path = "../tonic", features = ["codegen", "prost"] }

[build-dependencies]
tonic-build = { version = "0.5", path = "../tonic-build" }
tonic-build = { version = "0.6", path = "../tonic-build" }

[dev-dependencies]
futures = "0.3"
Expand Down
10 changes: 5 additions & 5 deletions tonic-types/Cargo.toml
@@ -1,10 +1,10 @@
[package]
name = "tonic-types"
version = "0.3.0"
version = "0.4.0"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic-types/0.3.0/tonic-types/"
documentation = "https://docs.rs/tonic-types/0.4.0/tonic-types/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
description = """
Expand All @@ -15,8 +15,8 @@ categories = ["web-programming", "network-programming", "asynchronous"]
keywords = ["rpc", "grpc", "protobuf"]

[dependencies]
prost = "0.8"
prost-types = "0.8"
prost = "0.9"
prost-types = "0.9"

[build-dependencies]
prost-build = "0.8"
prost-build = "0.9"
2 changes: 1 addition & 1 deletion tonic-web/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ categories = ["network-programming", "asynchronous"]
keywords = ["rpc", "grpc", "grpc-web"]

[dependencies]
tonic = { version = "0.5", path = "../tonic", default-features = false, features = ["transport"] }
tonic = { version = "0.6", path = "../tonic", default-features = false, features = ["transport"] }
http = "0.2"
base64 = "0.13"
futures-core = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion tonic-web/tests/integration/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
[dependencies]
tonic = { path = "../../../tonic" }
tonic-web = { path = "../../../tonic-web" }
prost = "0.8"
prost = "0.9"
tokio = { version = "1", features = ["macros", "rt", "net"] }
base64 = "0.13"
bytes = "1.0"
Expand Down
10 changes: 5 additions & 5 deletions tonic/Cargo.toml
Expand Up @@ -7,12 +7,12 @@ name = "tonic"
# - Cargo.toml
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.5.x" git tag.
version = "0.5.2"
# - Create "v0.6.x" git tag.
version = "0.6.0"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic/0.5.2/tonic/"
documentation = "https://docs.rs/tonic/0.6.0/tonic/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
description = """
Expand Down Expand Up @@ -63,8 +63,8 @@ http-body = "0.4.2"
pin-project = "1.0"

# prost
prost1 = { package = "prost", version = "0.8", optional = true }
prost-derive = { version = "0.8", optional = true }
prost1 = { package = "prost", version = "0.9", optional = true }
prost-derive = { version = "0.9", optional = true }

# codegen
async-trait = { version = "0.1.13", optional = true }
Expand Down

1 comment on commit 09805ec

@jelmansouri-legion
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Is there potentially a release with this change in the near future ?
Thanks in advance!

Please sign in to comment.