File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 4
4
//! attribute and tool. Crates pull in the `#[wasm_bindgen]` attribute through
5
5
//! this crate and this crate also provides JS bindings through the `JsValue`
6
6
//! interface.
7
+ //!
8
+ //! ## Features
9
+ //!
10
+ //! ### `enable-interning`
11
+ //!
12
+ //! Enables the internal cache for [`wasm_bindgen::intern`].
13
+ //!
14
+ //! ### `gg-alloc`
15
+ //!
16
+ //! Uses [`gg-allow`](https://crates.io/crates/gg-alloc) as the global allocator
17
+ //! when using `wasm-bindgen-test` to ensure that pointers outside the `i32`
18
+ //! range are handled correctly.
19
+ //!
20
+ //! ### `std` (default)
21
+ //!
22
+ //! TODO:
23
+ //!
24
+ //! ### `strict-macro`
25
+ //!
26
+ //! All warnings the `#[wasm_bindgen]` macro emits are turned into hard errors.
27
+ //! This mainly affects unused attribute options.
28
+ //!
29
+ //! ### Deprecated features
30
+ //!
31
+ //! #### `serde-serialize`
32
+ //!
33
+ //! **Deprecated:** Use the [`serde-wasm-bindgen`](https://docs.rs/serde-wasm-bindgen/latest/serde_wasm_bindgen/) crate instead.
34
+ //!
35
+ //! Enables the `JsValue::from_serde` and `JsValue::into_serde` methods for
36
+ //! serializing and deserializing Rust types to and from JavaScript.
37
+ //!
38
+ //! #### `spans`
39
+ //!
40
+ //! **Deprecated:** This feature became a no-op in wasm-bindgen v0.2.20 (Sep 7, 2018).
7
41
8
42
#![ no_std]
9
43
#![ cfg_attr(
You can’t perform that action at this time.
0 commit comments