From 6446dc93a22940e650ccb2f4f85216fe121ef1ef Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 8 Feb 2021 11:33:25 +0100 Subject: [PATCH] serde: Don't pull in default features They are not used, so let's not build them. (Also, some crates still cause trouble when serde is active with std when the expect it not to be, so let's not cause any of these troubles needlessly). See-Also: https://gitlab.com/chrysn/coap-handler/-/issues/1 See-Also: https://github.com/KokaKiwi/rust-hex/pull/42 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 30234e7f0..28fb33aec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["CoAP"] edition = "2018" [dependencies] -serde = { version= "1.0.88", features= [ "derive" ] } +serde = { version= "1.0.88", features= [ "derive" ], default-features = false } url = "1.7.2" num-derive = "0.2.4" num-traits = "0.2.6"