Disable Serde's default-features

We do not need serde/std, only serde/alloc. Serde/std breaks no-std
builds, but serde/alloc does not. Depending on serde/alloc is the more
compatible approach, as the entire library already depends on alloc.
This commit is contained in:
ass3rt 2022-03-24 00:27:22 -05:00
parent 83514c87a7
commit 7db03f27e4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ core2 = { version = "0.3.0", optional = true, default-features = false }
base64-compat = { version = "1.0.0", optional = true } base64-compat = { version = "1.0.0", optional = true }
bitcoinconsensus = { version = "0.19.0-3", optional = true } bitcoinconsensus = { version = "0.19.0-3", optional = true }
serde = { version = "1", features = [ "derive" ], optional = true } serde = { version = "1", default-features = false, features = [ "derive", "alloc" ], optional = true }
hashbrown = { version = "0.8", optional = true } hashbrown = { version = "0.8", optional = true }
[dev-dependencies] [dev-dependencies]