1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
Description: avoid WASM-only dependencies
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,6 @@
"kv-log-macro",
"log",
"pin-project-lite",
- "gloo-timers",
]
docs = ["attributes", "unstable", "default"]
unstable = [
@@ -47,8 +46,6 @@
"once_cell",
"pin-utils",
"slab",
- "wasm-bindgen-futures",
- "futures-channel",
"async-channel",
"async-lock",
]
@@ -86,15 +83,6 @@
futures-lite = { version = "2.0.0", optional = true }
async-process = { version = "2.0.0", optional = true }
-[target.'cfg(target_arch = "wasm32")'.dependencies]
-gloo-timers = { version = "0.3.0", features = ["futures"], optional = true }
-wasm-bindgen-futures = { version = "0.4.10", optional = true }
-futures-channel = { version = "0.3.4", optional = true }
-
-[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
-wasm-bindgen-test = "0.3.10"
-getrandom = { version = "0.2.0", features = ["js"] }
-
[dev-dependencies]
femme = "2.1.1"
rand = "0.8.0"
|