wasm-bindgen/crates/web-sys
2019-11-19 11:04:37 -06:00
..
src Fix file permissions (#1779) 2019-09-20 13:50:00 -05:00
tests/wasm Run rustfmt 2019-10-28 20:15:05 -07:00
webidls Update HTMLImageElement IDL to latest version from gecko (#1842) 2019-10-29 18:11:19 -05:00
build.rs Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
Cargo.toml Bump to 0.2.55 (#1864) 2019-11-19 11:04:37 -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.