Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 1cd5a70..ca48ef2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,3 +6,9 @@ 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 }
+
+[features]
+default = ["alloc"]
+std = ["alloc", "no-std-thiserror/std"]
+alloc = []