#panic-hook #panic #hook

web_panic_hook

Panic handling in the browser (wasm)

1 unstable release

0.1.0 Sep 11, 2023

#807 in WebAssembly

Apache-2.0 OR BSL-1.0 OR MIT

180KB
120 lines

Web Panic Hook

Panic handling in the browser (wasm)

Crates.io Crates.io Crates.io (recent)
Crates.io Docs.rs

Screenshot

cargo install wasm-bindgen-cli
cargo install https
cargo run --example index
cargo build --example example --target wasm32-unknown-unknown
wasm-bindgen --out-dir html --target web --no-typescript --omit-default-module-path target/wasm32-unknown-unknown/debug/examples/example.wasm
http html/

License

Copyright © 2023 The Web Panic Hook Contributors.

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.

Dependencies

~23MB
~443K SLoC