wasm-bindgen/crates/web-sys
2020-05-01 10:34:36 -05:00
..
src Generate web-sys with old ClipboardEvent removed. 2020-04-23 07:15:47 +02:00
tests/wasm Dramatically improving the build time of web-sys (#2012) 2020-03-02 17:39:36 -06:00
webidls Remove old ClipboardEvent webidl 2020-04-23 07:12:39 +02:00
.gitignore Dramatically improving the build time of web-sys (#2012) 2020-03-02 17:39:36 -06:00
Cargo.toml Bump to 0.2.62 (#2119) 2020-05-01 10:34:36 -05:00
LICENSE-APACHE Symlink LICENSE files in crates (#2018) 2020-02-28 17:41:28 -06:00
LICENSE-MIT Symlink LICENSE files in crates (#2018) 2020-02-28 17:41:28 -06:00
README.md Simply remove the web-sys bindings 'tested' list 2019-01-10 19:06:11 +01:00

web-sys

Raw bindings to Web APIs for projects using wasm-bindgen.

Crate features

This crate by default contains very little when compiled as almost all of its exposed APIs are gated by Cargo features. The exhaustive list of features can be found in crates/web-sys/Cargo.toml, but the rule of thumb for web-sys is that each type has its own cargo feature (named after the type). Using an API requires enabling the features for all types used in the API, and APIs should mention in the documentation what features they require.