From 8097eba396b1148a64d910f0da0ef3e119bb134c Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Tue, 9 Mar 2021 12:08:30 +0000 Subject: [PATCH] Make serde dependency no_std as well --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ab2add6..7e134e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ path = "src/lib.rs" [features] default = [ "std" ] -std = [] +std = [ "serde/std" ] # Note: English is the standard for bip39 so always included chinese-simplified = [] @@ -44,7 +44,7 @@ bitcoin_hashes = "0.9.4" unicode-normalization = "=0.1.9" rand = { version = "0.6.0", optional = true } -serde = { version = "1.0", optional = true } +serde = { version = "1.0", default-features = false, optional = true } [dev-dependencies] rand = { version = "0.6.0", optional = false }