Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
src/ | H | 03-May-2022 | - | 150,401 | 147,651 | |
tests/wasm/ | H | 03-May-2022 | - | 2,695 | 2,083 | |
webidls/ | H | 03-May-2022 | - | 29,350 | 25,312 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.gitignore | H A D | 09-Nov-2020 | 10 | 2 | 1 | |
Cargo.toml | H A D | 30-Nov-2020 | 44.6 KiB | 1,406 | 1,400 | |
Cargo.toml.orig-cargo | H A D | 30-Nov-2020 | 44.2 KiB | 1,396 | 1,390 | |
LICENSE-APACHE | H A D | 09-Nov-2020 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | H A D | 09-Nov-2020 | 1 KiB | 26 | 22 | |
README.md | H A D | 09-Nov-2020 | 735 | 17 | 12 |
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