Skip to content

Commit

Permalink
Make serde alloc optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Krakau authored and udoprog committed May 17, 2024
1 parent 17a6e6f commit 8cef5ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/musli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]
[features]
default = ["std", "alloc"]
std = ["musli-core/std", "serde?/std", "simdutf8?/std"]
alloc = ["musli-core/alloc"]
alloc = ["musli-core/alloc", "serde?/alloc"]
verbose = ["musli-core/verbose"]
storage = []
wire = []
Expand All @@ -40,7 +40,7 @@ musli-core = { version = "=0.0.121", path = "../musli-core", default-features =
simdutf8 = { version = "0.1.4", optional = true, default-features = false }
itoa = { version = "1.0.10", optional = true }
ryu = { version = "1.0.17", optional = true }
serde = { version = "1.0.198", optional = true }
serde = { version = "1.0.198", optional = true, default-features = false}

[dev-dependencies]
musli = { path = ".", features = ["test"] }
Expand Down

0 comments on commit 8cef5ca

Please sign in to comment.