rustwasm/Cargo.toml
2024-11-24 22:49:22 -05:00

16 lines
326 B
TOML

[package]
name = "rustwasm"
version = "0.1.0"
edition = "2021"
[dependencies]
wasm-bindgen = "0.2"
# this is necessary to build the wasm blob
[lib]
crate-type = ["cdylib"]
# suppress the lint warning for the #[wasm_bindgen] directive in lib.rs
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['wasm_bindgen']}