Unite most of tarpc into a single crate

This commit is contained in:
Artem Vorotnikov
2019-11-26 18:59:30 +03:00
committed by Tim
parent 6eb806907a
commit 5e19b79aa4
34 changed files with 72 additions and 166 deletions

View File

@@ -40,7 +40,7 @@ async fn main() -> io::Result<()> {
let name = flags.value_of("name").unwrap().into();
let transport = tarpc_json_transport::connect(server_addr).await?;
let transport = tarpc::json_transport::connect(server_addr).await?;
// WorldClient is generated by the service attribute. It has a constructor `new` that takes a
// config and any Transport as input.