wasm-bindgen/crates/web-sys
2019-03-21 17:08:48 -07:00
..
src Add manual docs for single manual function. 2018-11-13 14:36:33 +00:00
tests/wasm fix 2019-03-14 12:50:50 -06:00
webidls impl OptionFromWasmAbi and OptionIntoWasmAbi for ImportEnum, enable RTCRtpTransceiver.webidl, add add rtc_rtp_transceiver_direction test 2019-03-14 12:15:02 -06:00
build.rs Run rustfmt over everything 2018-11-27 12:07:59 -08:00
Cargo.toml Bump to 0.2.40 2019-03-21 17:08:48 -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.