[package] name = "replace_html" description = "A simple, minimal crate to replace HTML in wasm32 environments." version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/loopystudios/replace_html" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] thiserror = "1.0.58" [target.'cfg(target_arch = "wasm32")'.dependencies] web-sys = { version = "0.3", features = ['Window', 'Document', 'HtmlElement'] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3.42"