diff --git a/examples/simple-map/Cargo.lock b/examples/simple-map/Cargo.lock index f728c46..644fc42 100644 --- a/examples/simple-map/Cargo.lock +++ b/examples/simple-map/Cargo.lock @@ -548,6 +548,7 @@ dependencies = [ "paste", "rand", "regex", + "serde-wasm-bindgen", "wasm-bindgen", "web-sys", ] @@ -1419,8 +1420,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" dependencies = [ "cfg-if", - "serde", - "serde_json", "wasm-bindgen-macro", ] diff --git a/examples/tilelayerwms/Cargo.lock b/examples/tilelayerwms/Cargo.lock index c493d85..4b588c2 100644 --- a/examples/tilelayerwms/Cargo.lock +++ b/examples/tilelayerwms/Cargo.lock @@ -737,6 +737,7 @@ dependencies = [ "paste", "rand", "regex", + "serde-wasm-bindgen", "wasm-bindgen", "web-sys", ] @@ -1684,8 +1685,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" dependencies = [ "cfg-if", - "serde", - "serde_json", "wasm-bindgen-macro", ] diff --git a/examples/with-server/Cargo.lock b/examples/with-server/Cargo.lock index 35f52ce..6d48f59 100644 --- a/examples/with-server/Cargo.lock +++ b/examples/with-server/Cargo.lock @@ -939,6 +939,7 @@ dependencies = [ "paste", "rand", "regex", + "serde-wasm-bindgen", "wasm-bindgen", "web-sys", ] @@ -2247,8 +2248,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" dependencies = [ "cfg-if", - "serde", - "serde_json", "wasm-bindgen-macro", ] diff --git a/leptos-leaflet/Cargo.toml b/leptos-leaflet/Cargo.toml index 60a6adc..7f7e5c2 100644 --- a/leptos-leaflet/Cargo.toml +++ b/leptos-leaflet/Cargo.toml @@ -20,7 +20,8 @@ paste = "1.0" rand = "0.8" regex = "1.9" -wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } +wasm-bindgen = "0.2" +serde-wasm-bindgen = "0.6" web-sys = { version = "0.3", features = [ "console", "HtmlElement",