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:
parent
83514c87a7
commit
7db03f27e4
|
@ -41,7 +41,7 @@ core2 = { version = "0.3.0", optional = true, default-features = false }
|
|||
|
||||
base64-compat = { version = "1.0.0", 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 }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
Loading…
Reference in New Issue