Adding wasm_bindgen_spawn library as a dependency

Run this command in a terminal, in your project's directory:

cargo add wasm-bindgen-spawn

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

wasm-bindgen-spawn = "0.0.5"

The wasm_bindgen_spawn library will be automatically available globally. Read the wasm_bindgen_spawn library documentation.

Back to the crate overview.