• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-156,384153,546

tests/wasm/H03-May-2022-2,7152,100

webidls/H03-May-2022-29,81325,707

.cargo-checksum.jsonH A D03-May-202289 11

.gitignoreH A D29-Nov-197310 21

Cargo.tomlH A D01-Jan-197045.7 KiB1,4491,443

Cargo.toml.orig-cargoH A D29-Nov-197345.3 KiB1,4401,434

LICENSE-APACHEH A D29-Nov-197310.6 KiB202169

LICENSE-MITH A D29-Nov-19731 KiB2622

README.mdH A D29-Nov-1973735 1712

README.md

1# `web-sys`
2
3Raw bindings to Web APIs for projects using `wasm-bindgen`.
4
5* [The `web-sys` section of the `wasm-bindgen`
6  guide](https://rustwasm.github.io/wasm-bindgen/web-sys/index.html)
7* [API Documentation](https://rustwasm.github.io/wasm-bindgen/api/web_sys/)
8
9## Crate features
10
11This crate by default contains very little when compiled as almost all of its
12exposed APIs are gated by Cargo features. The exhaustive list of features can be
13found in `crates/web-sys/Cargo.toml`, but the rule of thumb for `web-sys` is
14that each type has its own cargo feature (named after the type). Using an API
15requires enabling the features for all types used in the API, and APIs should
16mention in the documentation what features they require.
17