diff --git a/lib/config-wasm/Cargo.toml b/lib/config-wasm/Cargo.toml index 4a7666e1..08ce674b 100644 --- a/lib/config-wasm/Cargo.toml +++ b/lib/config-wasm/Cargo.toml @@ -13,7 +13,9 @@ config = { path = "../config" } js-sys = "0.3" serde = "1" serde-wasm-bindgen = "0.6" -wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } +# https://github.com/tkaitchuck/aHash/issues/95#issuecomment-1937448134 +# https://github.com/rustwasm/wasm-bindgen/pull/3031#issuecomment-1442610289 +wasm-bindgen = { version = "0.2" } # Not a direct dependency but get random as of 0.2.2 throws an error on "unsupported targets" # https://docs.rs/getrandom/0.2.2/getrandom/#unsupported-targets # The fix is to add it as a supported target and specify the target. As of 0.2.2 both browser and nodejs use "js"