Billy-Sheppard / chart-js-rs

Rust Chart.js connector crate
https://billy-sheppard.github.io/chart-js-rs/examples/index.html
Apache License 2.0
25 stars 8 forks source link

refactor: remove deprecated function call #1

Closed morenol closed 2 years ago

morenol commented 2 years ago

from_serde method in JsValue is deprecated

https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen/struct.JsValue.html#method.from_serde

Billy-Sheppard commented 2 years ago

Thanks!

EDIT: There was some weird clippy interaction going on so I've moved to serde_wasm_bindgen. This should fix the deprecated issue anyway.