Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 = [] |