mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-24 18:21:33 +00:00
Update and improve crate features in web-sys
* Regenerate the list of features for the crate given recent improvements, enabling some more types to be bound. * Add feature gates for the `css` and `console` namespaces (modules), gating the APIs by default. Now `web_sys` has zero APIs unless they're requested. * Improved the "required feature" documentation for `struct` types to not list parent classes and mention just the `struct` type instead.
This commit is contained in:
@ -8,4 +8,4 @@ crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
wasm-bindgen = { path = "../.." }
|
||||
web-sys = { path = '../../crates/web-sys' }
|
||||
web-sys = { path = '../../crates/web-sys', features = ['console'] }
|
||||
|
Reference in New Issue
Block a user