Support Cloudflare workers runtime (#1081)

This commit is contained in:
stevelr
2020-11-11 18:10:01 +00:00
committed by GitHub
parent 3b45c38c41
commit 045d7c7d2f
2 changed files with 21 additions and 4 deletions

View File

@@ -129,9 +129,9 @@ winreg = "0.7"
# wasm
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.28"
wasm-bindgen = { version = "0.2.51", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.1"
js-sys = "0.3.45"
wasm-bindgen = { version = "0.2.68", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.18"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.25"
@@ -145,6 +145,7 @@ features = [
"FormData",
"Blob",
"BlobPropertyBag",
"ServiceWorkerGlobalScope",
]
[[example]]