From 8456ce5ac99ab1229284fc5561ca560cea726043 Mon Sep 17 00:00:00 2001 From: gramar Date: Tue, 25 Oct 2022 21:29:18 +0200 Subject: [PATCH] Disable serde default-features --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5f5cf5b..fab3ca3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.