Reduce required tokio features (#343)

* Move async tests behind cfg-ed mod
* Use explicit tokio features for the example
* Use only relative crate path for example dependency
This commit is contained in:
Kitsu
2021-03-17 22:30:18 +03:00
committed by GitHub
parent c6450521e6
commit d3f6c01df2
4 changed files with 533 additions and 520 deletions

View File

@@ -17,8 +17,8 @@ clap = "2.33"
env_logger = "0.8"
futures = "0.3"
serde = { version = "1.0" }
tarpc = { version = "0.25", path = "../tarpc", features = ["full"] }
tokio = { version = "1", features = ["full"] }
tarpc = { path = "../tarpc", features = ["full"] }
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread"] }
[lib]
name = "service"