From 947996377395bb12fbee43f02f3d776a7a1d75cd Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Fri, 9 Aug 2019 01:21:31 -0700 Subject: [PATCH] Don't enable serde1 by default. I forgot it gives bad compile errors to people who don't have serde in their Cargo.toml. --- example-service/Cargo.toml | 2 +- tarpc/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"]