mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-24 11:40:22 +01:00
Bump tokio from 0.2 to 0.3 (#319)
# Bump `tokio` from 0.2 to 0.3
* `Cargo.toml`:
* bump `tokio` from 0.2 to 0.3
* bump `tokio-util` from 0.3 to 0.4
* remove feature `time` from `tokio`
* fix alphabetical order of dependencies
* `tarpc::rpc`:
* `client, server`: `tokio::time::Elapsed` -> `tokio::time::error::Elapsed`
* `client, transport`, `::tests`: Fix `#[tokio::test]` macro usage
* `tarpc::serde_transport`:
* `TcpListener.incoming().poll_next(...)` -> `TcpListener.poll_accept(...)`
-> https://github.com/tokio-rs/tokio/discussions/2983
* Adapt `AsyncRead`, `AsynWrite` implements in tests
* `README.md`, `tarpc::lib`: Adapt tokio version in docs
# Satisfy clippy
* replace `match`-statements with `matches!(...)`-macro
This commit is contained in:
@@ -17,9 +17,9 @@ clap = "2.0"
|
||||
futures = "0.3"
|
||||
serde = { version = "1.0" }
|
||||
tarpc = { version = "0.22", path = "../tarpc", features = ["full"] }
|
||||
tokio = { version = "0.2", features = ["full"] }
|
||||
tokio = { version = "0.3", features = ["full"] }
|
||||
tokio-serde = { version = "0.6", features = ["json"] }
|
||||
tokio-util = { version = "0.3", features = ["codec"] }
|
||||
tokio-util = { version = "0.4", features = ["codec"] }
|
||||
env_logger = "0.6"
|
||||
|
||||
[lib]
|
||||
|
||||
Reference in New Issue
Block a user