fix windows, enable tokio for examples on wasm

This commit is contained in:
Jonathan Kelley committed 2024-03-06 19:59:47 -08:00
1 parent bb5ecd779f
commit c3df8c55e3
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -155,6 +155,7 @@ form_urlencoded = "1.2.0"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.2.12", features = ["js"] }
tokio = { version = "1.16.1", no-default-features = true, features = ["sync", "macros", "io-util", "rt", "time"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.16.1", features = ["full"] }