wasm-bindgen/crates/web-sys
2019-05-20 09:44:03 -07: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 Enable text area selectionStart and selectionEnd calls. 2019-05-14 14:58:06 -07:00
build.rs Remove unused statements in web-sys build script 2019-05-03 14:59:35 -07:00
Cargo.toml Bump to 0.2.45 2019-05-20 09:44:03 -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.