diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-04-09 16:28:16 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-04-09 16:28:16 -0500 |
commit | 4982805d61465b4b743fd92518a917de1d976552 (patch) | |
tree | 9915d99f4d211a49c64020d060576a572315bb28 /libs/zora-rs/Cargo.toml | |
parent | Bump @types/node from 20.12.5 to 20.12.6 (diff) | |
download | zorascript-4982805d61465b4b743fd92518a917de1d976552.tar zorascript-4982805d61465b4b743fd92518a917de1d976552.tar.gz zorascript-4982805d61465b4b743fd92518a917de1d976552.tar.bz2 zorascript-4982805d61465b4b743fd92518a917de1d976552.tar.lz zorascript-4982805d61465b4b743fd92518a917de1d976552.tar.xz zorascript-4982805d61465b4b743fd92518a917de1d976552.tar.zst zorascript-4982805d61465b4b743fd92518a917de1d976552.zip |
I hate Rust
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'libs/zora-rs/Cargo.toml')
-rw-r--r-- | libs/zora-rs/Cargo.toml | 5 |
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 |