feat: Update prost and friends to 0.9 (#791)

This commit is contained in:
Eliza Weisman
2021-10-19 07:59:28 -07:00
committed by GitHub
parent 4604042934
commit 09805ece45
21 changed files with 41 additions and 41 deletions
+2 -2
View File
@@ -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"
@@ -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"
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path= "../../tonic" }
prost = "0.8"
prost = "0.9"
[build-dependencies]
tonic-build = { path= "../../tonic-build" }
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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]
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
futures-util = "0.3"
bytes = "1.0"
+1 -1
View File
@@ -8,7 +8,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
[build_dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -13,7 +13,7 @@ doctest = false
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.8"
prost = "0.9"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+2 -2
View File
@@ -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" }
+3 -3
View File
@@ -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 = """
@@ -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"
+3 -3
View File
@@ -20,9 +20,9 @@ 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"
@@ -30,4 +30,4 @@ async-stream = "0.3"
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" }
+4 -4
View File
@@ -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"
+5 -5
View File
@@ -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 = """
@@ -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"
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"
+5 -5
View File
@@ -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 = """
@@ -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 }