refact: add cargo cxx feature
This commit is contained in:
parent
35d0b5cfb9
commit
3474d20d9b
7 changed files with 30 additions and 5 deletions
|
|
@ -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"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue