wasm-bindgen/crates/web-sys
2019-08-19 04:21:27 -07:00
..
src Migrate all crates to the 2018 edition 2019-03-26 08:10:53 -07:00
tests/wasm Adding in PartialEq and Eq to web-sys types 2019-07-18 23:12:49 +02:00
webidls Add missing Element::get_elements_by_* methods 2019-07-15 19:47:09 +02:00
build.rs Make env_logger an optional dependency 2019-06-10 07:12:44 -07:00
Cargo.toml Bump to 0.2.50 2019-08-19 04:21:27 -07: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.