Skip to content

Commit

Permalink
Fix test failure by adding alloc feature to serde
Browse files Browse the repository at this point in the history
  • Loading branch information
yescallop committed Oct 24, 2024
1 parent 145a817 commit dd16656
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ net = []
[dependencies]
borrow-or-share = "0.2"
ref-cast = "1.0"
serde = { version = "1.0", default-features = false, optional = true }

[dependencies.serde]
version = "1.0"
default-features = false
features = ["alloc"]
optional = true

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit dd16656

Please sign in to comment.