Skip to content

Commit

Permalink
serde: Don't pull in default features
Browse files Browse the repository at this point in the history
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: KokaKiwi/rust-hex#42
  • Loading branch information
chrysn committed Feb 8, 2021
1 parent 4d13d3a commit 6446dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -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"
Expand Down

0 comments on commit 6446dc9

Please sign in to comment.