Upgrade to Tokio 1.0.0 ecosystem (#530)
* Upgrade Tonic to Tokio 1.0 Work in progress for updating Tonic to Tokio 1.0. Since tower has not been released to crates.io, a git dependency is taken instead. * Upgrade Tonic to Tokio 1.0 phase 2 * tonic: remove tower-* deps * Apply suggestions from code review Co-authored-by: Ed Marshall <[email protected]> Co-authored-by: Lucio Franco <[email protected]>
This commit is contained in:
co-authored by
Ed Marshall
Lucio Franco
parent
fe4d5b9d9a
commit
fdda5ae26a
+11
-10
@@ -148,28 +148,29 @@ path = "src/hyper_warp_multiplex/server.rs"
|
||||
|
||||
[dependencies]
|
||||
tonic = { path = "../tonic", features = ["tls"] }
|
||||
prost = "0.6"
|
||||
tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs", "macros", "uds"] }
|
||||
prost = "0.7"
|
||||
tokio = { version = "1.0", features = ["rt-multi-thread", "time", "fs", "macros", "net"] }
|
||||
tokio-stream = { version = "0.1", features = ["net"] }
|
||||
async-stream = "0.3"
|
||||
futures = { version = "0.3", default-features = false, features = ["alloc"] }
|
||||
async-stream = "0.2"
|
||||
tower = "0.3"
|
||||
tower = { version = "0.4" }
|
||||
# Required for routeguide
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
rand = "0.7"
|
||||
rand = "0.8"
|
||||
# Tracing
|
||||
tracing = "0.1.16"
|
||||
tracing-subscriber = { version = "0.2", features = ["tracing-log"] }
|
||||
tracing-attributes = "0.1"
|
||||
tracing-futures = "0.2"
|
||||
# Required for wellknown types
|
||||
prost-types = "0.6"
|
||||
prost-types = "0.7"
|
||||
# Hyper example
|
||||
hyper = "0.13"
|
||||
warp = { version = "0.2", default-features = false }
|
||||
hyper = "0.14"
|
||||
warp = { git = "https://github.com/aknuds1/warp", branch = "chore/upgrade-tokio", default-features = false }
|
||||
http = "0.2"
|
||||
http-body = "0.3"
|
||||
pin-project = "0.4.17"
|
||||
http-body = "0.4"
|
||||
pin-project = "1.0"
|
||||
# Health example
|
||||
tonic-health = { path = "../tonic-health" }
|
||||
listenfd = "0.3"
|
||||
|
||||
Reference in New Issue
Block a user