aboutsummaryrefslogtreecommitdiffstats
path: root/libs/zora-rs/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libs/zora-rs/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/zora-rs/Cargo.toml b/libs/zora-rs/Cargo.toml
index c11df29..5535a13 100644
--- a/libs/zora-rs/Cargo.toml
+++ b/libs/zora-rs/Cargo.toml
@@ -13,12 +13,15 @@ crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
+
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
-specta = { version = "1.0.5", features = ["typescript"] }
+
+[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen = "0.2.84"
+
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for