Don't enable serde1 by default. I forgot it gives bad compile errors to people who don't have serde in their Cargo.toml.

This commit is contained in:
Tim Kuehn
2019-08-09 01:21:31 -07:00
parent f974533bf7
commit 9479963773
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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"]