This is the unpublished documentation of wasm-bindgen, the published documentation is available on the main Rust and WebAssembly documentation site . Features documented here may not be available in released versions of wasm-bindgen.

Publishing New wasm-bindgen Releases

  1. Compile the publish.rs script:

    rustc publish.rs
    
  2. Bump every crate's minor version:

    # Make sure you are in the root of the wasm-bindgen repo!
    ./publish bump
    
  3. Send a pull request for the version bump.

  4. After the pull request's CI is green and it has been merged, publish to cargo:

    # Make sure you are in the root of the wasm-bindgen repo!
    ./publish publish