chore: Upgrade to prost, prost-build and prost-derive 0.6 (#230) (#231)

This commit is contained in:
Marcel
2020-01-13 15:40:57 +01:00
committed by Lucio Franco
parent af807c3ccd
commit dadc8186c2
9 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -88,7 +88,7 @@ path = "src/uds/server.rs"
[dependencies]
tonic = { path = "../tonic", features = ["tls"] }
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost = "0.6"
tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs", "macros", "uds"] }
futures = { version = "0.3", default-features = false, features = ["alloc"]}
@@ -108,7 +108,7 @@ tracing-attributes = "0.1"
tracing-futures = "0.2"
# Required for wellknown types
prost-types = { git = "https://github.com/danburkert/prost", branch = "master" }
prost-types = "0.6"
[build-dependencies]
tonic-build = { path = "../tonic-build" }
+1 -1
View File
@@ -114,7 +114,7 @@ path = "src/client.rs"
[dependencies]
tonic = "0.1.0-beta.1"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost = "0.6"
tokio = { version = "0.2", features = ["macros"] }
[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.1.0-beta.1"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost = "0.6"
futures-core = "0.3"
futures-util = "0.3"
tokio = { version = "0.2", features = ["macros", "sync", "stream", "time"] }
+2 -2
View File
@@ -17,8 +17,8 @@ path = "src/bin/server.rs"
[dependencies]
tokio = { version = "0.2", features = ["rt-threaded", "time", "macros", "stream", "fs"] }
tonic = { path = "../tonic", features = ["tls"] }
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost-derive = { git = "https://github.com/danburkert/prost", branch = "master" }
prost = "0.6"
prost-derive = "0.6"
bytes = "0.5"
http = "0.2"
futures-core = "0.3"
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost = "0.6"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -10,7 +10,7 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost = "0.6"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+2 -2
View File
@@ -10,8 +10,8 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost-types = { git = "https://github.com/danburkert/prost", branch = "master" }
prost = "0.6"
prost-types = "0.6"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -16,7 +16,7 @@ keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
[dependencies]
prost-build = { git = "https://github.com/danburkert/prost", branch = "master" }
prost-build = "0.6"
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"
+2 -2
View File
@@ -56,8 +56,8 @@ http-body = "0.3"
pin-project = "0.4"
# prost
prost = { git = "https://github.com/danburkert/prost", branch = "master", optional = true }
prost-derive = { git = "https://github.com/danburkert/prost", branch = "master", optional = true }
prost = { version = "0.6", optional = true }
prost-derive = { version = "0.6", optional = true }
# codegen
async-trait = { version = "0.1.13", optional = true }