Disable serde default-features

master
gramar 2 years ago
parent 6ec96bcb74
commit 8456ce5ac9

@ -22,7 +22,7 @@ std = ["serde/std"]
# TODO: maybe add an FFI feature, to allow C projects to use it? idk if that's worth it really...
[dependencies]
serde = {version = "1.0.116", features = ["derive", "alloc"], optional = true}
serde = {version = "1.0.116", default-features = false, features = ["derive", "alloc"], optional = true}
# TODO: optional smallvec feature: instead of heap-allocating the first page, it can be placed on the stack.

Loading…
Cancel
Save