diff --git a/example-service/Cargo.toml b/example-service/Cargo.toml index 969756b..871f68b 100644 --- a/example-service/Cargo.toml +++ b/example-service/Cargo.toml @@ -17,7 +17,7 @@ tarpc-json-transport = { version = "0.1", path = "../json-transport" } clap = "2.0" futures-preview = { version = "0.3.0-alpha.17" } serde = { version = "1.0" } -tarpc = { version = "0.18", path = "../tarpc" } +tarpc = { version = "0.18", path = "../tarpc", features = ["serde1"] } tokio = "0.2.0-alpha.1" env_logger = "0.6" diff --git a/tarpc/Cargo.toml b/tarpc/Cargo.toml index 6324754..592728b 100644 --- a/tarpc/Cargo.toml +++ b/tarpc/Cargo.toml @@ -13,7 +13,7 @@ readme = "../README.md" description = "An RPC framework for Rust with a focus on ease of use." [features] -default = ["serde1", "tokio1"] +default = ["tokio1"] serde1 = ["rpc/serde1", "tarpc-plugins/serde1", "serde", "serde/derive"] tokio1 = ["rpc/tokio1"]