Skip to content

Commit

Permalink
Disable Serde's default-features
Browse files Browse the repository at this point in the history
With this patch, existing users of the `use-serde` feature will no longer
be compiling with `serde/std` enabled, but this allows dependent projects
to import serde and enable `serde/alloc` as required by some no-std targets.
  • Loading branch information
ass3rt committed Mar 24, 2022
1 parent ea80e65 commit 046e52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -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, optional = true }
hashbrown = { version = "0.8", optional = true }

[dev-dependencies]
Expand Down

0 comments on commit 046e52e

Please sign in to comment.