Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml11
1 files changed, 5 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ca48ef2..508659d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,12 +3,11 @@ name = "uniserde"
version = "0.1.0"
edition = "2021"
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
[dependencies]
-no-std-thiserror = { version = "0.1.0", default-features = false }
+serde = { version = "1.0", default-features = false, optional = true }
[features]
-default = ["alloc"]
-std = ["alloc", "no-std-thiserror/std"]
-alloc = []
+default = []
+std = ["alloc", "serde?/std"]
+alloc = ["serde?/alloc"]
+serde = ["dep:serde"]