chore: update prost, and related crates, to 0.8 (#703)

* chore: update prost, and related crates, to 0.8

Updates prost, prost-derive, prost-build, and prost-types to 0.8.

* Update the last few places
This commit is contained in:
David Pedersen
2021-07-08 15:02:02 -04:00
committed by GitHub
parent a948a8f884
commit acdb3273bb
21 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -165,7 +165,7 @@ path = "src/mock/mock.rs"
[dependencies]
tonic = { path = "../tonic", features = ["tls"] }
prost = "0.7"
prost = "0.8"
tokio = { version = "1.0", features = ["rt-multi-thread", "time", "fs", "macros", "net"] }
tokio-stream = { version = "0.1", features = ["net"] }
async-stream = "0.3"
@@ -181,7 +181,7 @@ tracing-subscriber = { version = "0.2", features = ["tracing-log"] }
tracing-attributes = "0.1"
tracing-futures = "0.2"
# Required for wellknown types
prost-types = "0.7"
prost-types = "0.8"
# Hyper example
hyper = "0.14"
warp = "0.3"
+1 -1
View File
@@ -114,7 +114,7 @@ path = "src/client.rs"
[dependencies]
tonic = "0.4"
prost = "0.7"
prost = "0.8"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
[build-dependencies]
+1 -1
View File
@@ -181,7 +181,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
```toml
[dependencies]
tonic = "0.4"
prost = "0.7"
prost = "0.8"
futures-core = "0.3"
futures-util = "0.3"
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] }
+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.7"
prost-derive = "0.7"
prost = "0.8"
prost-derive = "0.8"
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.7"
prost = "0.8"
[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.7"
prost = "0.8"
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.7"
prost-types = "0.7"
prost = "0.8"
prost-types = "0.8"
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.7"
prost = "0.8"
bytes = "1.0"
[build-dependencies]
prost-build = "0.7"
prost-build = "0.8"
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.7"
prost = "0.8"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.7"
prost = "0.8"
futures-util = "0.3"
bytes = "1.0"
+1 -1
View File
@@ -8,7 +8,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.7"
prost = "0.8"
[build_dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.7"
prost = "0.8"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.7"
prost = "0.8"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -13,7 +13,7 @@ doctest = false
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.7"
prost = "0.8"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+2 -2
View File
@@ -10,8 +10,8 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.7"
prost-types = "0.7"
prost = "0.8"
prost-types = "0.8"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -16,7 +16,7 @@ keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
[dependencies]
prost-build = { version = "0.7", optional = true }
prost-build = { version = "0.8", optional = true }
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"
+2 -2
View File
@@ -22,7 +22,7 @@ transport = ["tonic/transport"]
tokio = { version = "1.0", features = ["sync"] }
tonic = { version = "0.4", path = "../tonic", features = ["codegen", "prost"] }
bytes = "1.0"
prost = "0.7"
prost = "0.8"
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.4", path = "../tonic-build" }
tonic-build = { version = "0.4", path = "../tonic-build" }
+2 -2
View File
@@ -18,8 +18,8 @@ keywords = ["rpc", "grpc", "async", "reflection"]
[dependencies]
bytes = "1.0"
prost = "0.7"
prost-types = "0.7"
prost = "0.8"
prost-types = "0.8"
tokio = { version = "1.0", features = ["sync"] }
tokio-stream = { version = "0.1", features = ["net"] }
tonic = { version = "0.4", path = "../tonic", features = ["codegen", "prost"] }
+3 -3
View File
@@ -15,8 +15,8 @@ categories = ["web-programming", "network-programming", "asynchronous"]
keywords = ["rpc", "grpc", "protobuf"]
[dependencies]
prost = "0.7"
prost-types = "0.7"
prost = "0.8"
prost-types = "0.8"
[build-dependencies]
prost-build = "0.7"
prost-build = "0.8"
+1 -1
View File
@@ -8,7 +8,7 @@ edition = "2018"
[dependencies]
tonic = { path = "../../../tonic" }
tonic-web = { path = "../../../tonic-web" }
prost = "0.7"
prost = "0.8"
tokio = { version = "1", features = ["macros", "rt", "net"] }
base64 = "0.13"
bytes = "1.0"
+2 -2
View File
@@ -63,8 +63,8 @@ http-body = "0.4.2"
pin-project = "1.0"
# prost
prost1 = { package = "prost", version = "0.7", optional = true }
prost-derive = { version = "0.7", optional = true }
prost1 = { package = "prost", version = "0.8", optional = true }
prost-derive = { version = "0.8", optional = true }
# codegen
async-trait = { version = "0.1.13", optional = true }