wasm-bindgen/crates/web-sys
Alex Crichton 18746ecf4a
Merge pull request #1461 from alexcrichton/rustfmt-web-sys
Format web-sys bindings by default
2019-04-15 12:36:28 -05:00
..
src Migrate all crates to the 2018 edition 2019-03-26 08:10:53 -07:00
tests/wasm Generate r#async method names in web-sys 2019-03-26 08:51:46 -07: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 Format web-sys bindings by default 2019-04-15 08:33:02 -07:00
Cargo.toml Support [NoInterfaceObject] in web-sys 2019-04-15 10:36:01 -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.