feat: Update prost and friends to 0.9 (#791)
This commit is contained in:
+2
-2
@@ -180,7 +180,7 @@ path = "src/streaming/server.rs"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../tonic", features = ["tls", "compression"] }
|
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 = { version = "1.0", features = ["rt-multi-thread", "time", "fs", "macros", "net"] }
|
||||||
tokio-stream = { version = "0.1", features = ["net"] }
|
tokio-stream = { version = "0.1", features = ["net"] }
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
@@ -196,7 +196,7 @@ tracing-subscriber = { version = "0.2", features = ["tracing-log"] }
|
|||||||
tracing-attributes = "0.1"
|
tracing-attributes = "0.1"
|
||||||
tracing-futures = "0.2"
|
tracing-futures = "0.2"
|
||||||
# Required for wellknown types
|
# Required for wellknown types
|
||||||
prost-types = "0.8"
|
prost-types = "0.9"
|
||||||
# Hyper example
|
# Hyper example
|
||||||
hyper = { version = "0.14", features = ["full"] }
|
hyper = { version = "0.14", features = ["full"] }
|
||||||
warp = "0.3"
|
warp = "0.3"
|
||||||
|
|||||||
+2
-2
@@ -19,8 +19,8 @@ tokio = { version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"
|
|||||||
tokio-stream = "0.1"
|
tokio-stream = "0.1"
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
tonic = { path = "../tonic", features = ["tls"] }
|
tonic = { path = "../tonic", features = ["tls"] }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
prost-derive = "0.8"
|
prost-derive = "0.9"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
futures-core = "0.3"
|
futures-core = "0.3"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path= "../../tonic" }
|
tonic = { path= "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path= "../../tonic-build" }
|
tonic-build = { path= "../../tonic-build" }
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic", features = ["compression"] }
|
tonic = { path = "../../tonic", features = ["compression"] }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net"] }
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net"] }
|
||||||
tower = { version = "0.4", features = [] }
|
tower = { version = "0.4", features = [] }
|
||||||
http-body = "0.4"
|
http-body = "0.4"
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path= "../../../tonic" }
|
tonic = { path= "../../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
prost-types = "0.8"
|
prost-types = "0.9"
|
||||||
uuid = { package = "uuid1", path= "../uuid" }
|
uuid = { package = "uuid1", path= "../uuid" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ license = "MIT"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.8"
|
prost-build = "0.9"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = { path = "../../tonic-build" }
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
|
|
||||||
[build_dependencies]
|
[build_dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = { path = "../../tonic-build" }
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = { path = "../../tonic-build" }
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = { path = "../../tonic-build" }
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = { path = "../../tonic-build" }
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ doctest = false
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = { path = "../../tonic-build" }
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
prost-types = "0.8"
|
prost-types = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = { path = "../../tonic-build" }
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-build"
|
name = "tonic-build"
|
||||||
version = "0.5.2"
|
version = "0.6.0"
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT"
|
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"
|
repository = "https://github.com/hyperium/tonic"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
description = """
|
description = """
|
||||||
@@ -16,7 +16,7 @@ keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
|
|||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost-build = { version = "0.8", optional = true }
|
prost-build = { version = "0.9", optional = true }
|
||||||
syn = "1.0"
|
syn = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
proc-macro2 = "1.0"
|
proc-macro2 = "1.0"
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ transport = ["tonic/transport"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.0", features = ["sync"] }
|
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"
|
bytes = "1.0"
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
tokio-stream = "0.1"
|
tokio-stream = "0.1"
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
|
|
||||||
@@ -30,4 +30,4 @@ async-stream = "0.3"
|
|||||||
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"]}
|
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"]}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { version = "0.5", path = "../tonic-build" }
|
tonic-build = { version = "0.6", path = "../tonic-build" }
|
||||||
|
|||||||
@@ -18,14 +18,14 @@ keywords = ["rpc", "grpc", "async", "reflection"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
prost-types = "0.8"
|
prost-types = "0.9"
|
||||||
tokio = { version = "1.0", features = ["sync"] }
|
tokio = { version = "1.0", features = ["sync"] }
|
||||||
tokio-stream = { version = "0.1", features = ["net"] }
|
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]
|
[build-dependencies]
|
||||||
tonic-build = { version = "0.5", path = "../tonic-build" }
|
tonic-build = { version = "0.6", path = "../tonic-build" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-types"
|
name = "tonic-types"
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT"
|
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"
|
repository = "https://github.com/hyperium/tonic"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
description = """
|
description = """
|
||||||
@@ -15,8 +15,8 @@ categories = ["web-programming", "network-programming", "asynchronous"]
|
|||||||
keywords = ["rpc", "grpc", "protobuf"]
|
keywords = ["rpc", "grpc", "protobuf"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
prost-types = "0.8"
|
prost-types = "0.9"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.8"
|
prost-build = "0.9"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ categories = ["network-programming", "asynchronous"]
|
|||||||
keywords = ["rpc", "grpc", "grpc-web"]
|
keywords = ["rpc", "grpc", "grpc-web"]
|
||||||
|
|
||||||
[dependencies]
|
[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"
|
http = "0.2"
|
||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
futures-core = "0.3"
|
futures-core = "0.3"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../../tonic" }
|
tonic = { path = "../../../tonic" }
|
||||||
tonic-web = { path = "../../../tonic-web" }
|
tonic-web = { path = "../../../tonic-web" }
|
||||||
prost = "0.8"
|
prost = "0.9"
|
||||||
tokio = { version = "1", features = ["macros", "rt", "net"] }
|
tokio = { version = "1", features = ["macros", "rt", "net"] }
|
||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
|
|||||||
+5
-5
@@ -7,12 +7,12 @@ name = "tonic"
|
|||||||
# - Cargo.toml
|
# - Cargo.toml
|
||||||
# - README.md
|
# - README.md
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.5.x" git tag.
|
# - Create "v0.6.x" git tag.
|
||||||
version = "0.5.2"
|
version = "0.6.0"
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT"
|
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"
|
repository = "https://github.com/hyperium/tonic"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
description = """
|
description = """
|
||||||
@@ -63,8 +63,8 @@ http-body = "0.4.2"
|
|||||||
pin-project = "1.0"
|
pin-project = "1.0"
|
||||||
|
|
||||||
# prost
|
# prost
|
||||||
prost1 = { package = "prost", version = "0.8", optional = true }
|
prost1 = { package = "prost", version = "0.9", optional = true }
|
||||||
prost-derive = { version = "0.8", optional = true }
|
prost-derive = { version = "0.9", optional = true }
|
||||||
|
|
||||||
# codegen
|
# codegen
|
||||||
async-trait = { version = "0.1.13", optional = true }
|
async-trait = { version = "0.1.13", optional = true }
|
||||||
|
|||||||
Reference in New Issue
Block a user