Closed bird-dancer closed 2 weeks ago
Due to an ABI mismatch between clang and rust, wasm-bindgen older then 2.88 will become incompatible with the rust compiler at some point. See https://github.com/rust-lang/rust/pull/63649 and https://github.com/rust-lang/rust/issues/71871 . In later versions of wasm-bindgen JsValue::from_serde and JsValue::into_serde are deprecated and using serde-wasm-bindgen is suggested instead. See https://github.com/rustwasm/wasm-bindgen/pull/3031 .
JsValue::from_serde
JsValue::into_serde
serde-wasm-bindgen
This pr also fixes the following clippy issues:
Due to an ABI mismatch between clang and rust, wasm-bindgen older then 2.88 will become incompatible with the rust compiler at some point. See https://github.com/rust-lang/rust/pull/63649 and https://github.com/rust-lang/rust/issues/71871 . In later versions of wasm-bindgen
JsValue::from_serde
andJsValue::into_serde
are deprecated and usingserde-wasm-bindgen
is suggested instead. See https://github.com/rustwasm/wasm-bindgen/pull/3031 .This pr also fixes the following clippy issues: