File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
crates/matrix-sdk/examples/wasm_command_bot Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ wasm-bindgen = { version = "0.2.74", features = ["serde-serialize"] }
15
15
wasm-bindgen-futures = " 0.4.24"
16
16
console_error_panic_hook = " 0.1.6"
17
17
web-sys = { version = " 0.3.51" , features = [" console" ] }
18
+ # The uuid and getrandom crates are indirect dependencies that require extra features to be enabled
19
+ # for (some) wasm use cases. FIXME: These features should be re-exposed by matrix-sdk / Ruma but for
20
+ # now adding the extra dependency here is a good-enough workaround.
21
+ uuid = { version = " 0.8.2" , features = [" wasm-bindgen" ] }
22
+ # https://docs.rs/getrandom/latest/getrandom/#webassembly-support
23
+ getrandom = { version = " 0.2.4" , features = [" js" ] }
18
24
19
25
[dependencies .matrix-sdk ]
20
26
path = " ../.."
You can’t perform that action at this time.
0 commit comments