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"] }