refact: add cargo cxx feature

This commit is contained in:
Henri Bourcereau 2026-03-25 20:16:46 +01:00
parent 35d0b5cfb9
commit 3474d20d9b
7 changed files with 30 additions and 5 deletions

View file

@ -14,3 +14,6 @@ gloo-storage = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
# getrandom 0.3 requires an explicit WASM backend; "wasm_js" uses window.crypto.getRandomValues.
# Must be a direct dependency (not just transitive) for the feature to take effect.
getrandom = { version = "0.3", features = ["wasm_js"] }