chore: Upgrade to prost master and bytes 0.5 (#224)

This upgrades tonic to prost's master branch, and moves everything to
bytes 0.5.
This commit is contained in:
Adam Jacob
2020-01-11 11:05:08 -08:00
committed by Lucio Franco
parent e034288c37
commit 8997f47b6d
9 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -88,8 +88,8 @@ path = "src/uds/server.rs"
[dependencies]
tonic = { path = "../tonic", features = ["tls"] }
bytes = "0.4"
prost = "0.5"
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs", "macros", "uds"] }
futures = { version = "0.3", default-features = false, features = ["alloc"]}
@@ -109,7 +109,7 @@ tracing-attributes = "0.1"
tracing-futures = "0.2"
# Required for wellknown types
prost-types = "0.5"
prost-types = { git = "https://github.com/danburkert/prost", branch = "master" }
[build-dependencies]
tonic-build = { path = "../tonic-build" }
+2 -2
View File
@@ -114,8 +114,8 @@ path = "src/client.rs"
[dependencies]
tonic = "0.1.0-beta.1"
bytes = "0.4"
prost = "0.5"
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
tokio = { version = "0.2", features = ["macros"] }
[build-dependencies]
+2 -2
View File
@@ -181,8 +181,8 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
```toml
[dependencies]
tonic = "0.1.0-beta.1"
bytes = "0.4"
prost = "0.5"
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
futures-core = "0.3"
futures-util = "0.3"
tokio = { version = "0.2", features = ["macros", "sync", "stream", "time"] }
+3 -3
View File
@@ -17,9 +17,9 @@ path = "src/bin/server.rs"
[dependencies]
tokio = { version = "0.2", features = ["rt-threaded", "time", "macros", "stream", "fs"] }
tonic = { path = "../tonic", features = ["tls"] }
prost = "0.5"
prost-derive = "0.5"
bytes = "0.4"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost-derive = { git = "https://github.com/danburkert/prost", branch = "master" }
bytes = "0.5"
http = "0.2"
futures-core = "0.3"
futures-util = "0.3"
+2 -2
View File
@@ -10,8 +10,8 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
bytes = "0.4"
prost = "0.5"
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+2 -2
View File
@@ -10,8 +10,8 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
bytes = "0.4"
prost = "0.5"
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+2 -2
View File
@@ -11,8 +11,8 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
bytes = "0.5"
prost = "0.5"
prost-types = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost-types = { git = "https://github.com/danburkert/prost", branch = "master" }
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
+1 -1
View File
@@ -16,7 +16,7 @@ keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
[dependencies]
prost-build = "0.5"
prost-build = { git = "https://github.com/danburkert/prost", branch = "master" }
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 = { version = "0.5", optional = true }
prost-derive = { version = "0.5", optional = true }
prost = { git = "https://github.com/danburkert/prost", branch = "master", optional = true }
prost-derive = { git = "https://github.com/danburkert/prost", branch = "master", optional = true }
# codegen
async-trait = { version = "0.1.13", optional = true }