Skip to content

Commit

Permalink
Enable serde's derive feature
Browse files Browse the repository at this point in the history
We derive `serde` traits so we need the `derive` feature to be enabled
in all builds not just dev builds.

Presumably this bug has not shown up because anytime `serde` is enabled
some other crate in the stack enabled `derive`.
  • Loading branch information
tcharding committed Jun 23, 2024
1 parent 9866e27 commit 7d2091d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ alloc = []
[dependencies]
arrayvec = { version = "0.7.2", default-features = false }
core2 = { version = "0.3.2", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"], optional = true }


[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

[[example]]
Expand Down

0 comments on commit 7d2091d

Please sign in to comment.