From c5a757fb605c7fbe03e3c62a9791f34ffe0c1314 Mon Sep 17 00:00:00 2001 From: James Munns Date: Tue, 12 Nov 2019 01:18:09 +0100 Subject: [PATCH] Add default as a serde dependency --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4505afb..cf9f89f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,7 @@ docs = ["attributes", "unstable"] unstable = ["default", "broadcaster"] attributes = ["async-attributes"] serde-support = [ + "default", "serde", ] std = [ @@ -74,7 +75,7 @@ once_cell = { version = "1.2.0", optional = true } pin-project-lite = { version = "0.1", optional = true } pin-utils = { version = "0.1.0-alpha.4", optional = true } slab = { version = "0.4.2", optional = true } -serde = { version = "1.0.0", optional = true, features = ["derive"] } +serde = { version = "1.0.0", optional = true, default-features = false, features = ["derive"] } [dev-dependencies] femme = "1.2.0"