File: disable-wasm32.diff

package info (click to toggle)
rust-opendal 0.54.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,780 kB
  • sloc: makefile: 2
file content (30 lines) | stat: -rw-r--r-- 688 bytes parent folder | download
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
Index: opendal/Cargo.toml
===================================================================
--- opendal.orig/Cargo.toml
+++ opendal/Cargo.toml
@@ -435,25 +435,5 @@ features = [
     "tracing-log",
 ]
 
-[target.'cfg(target_arch = "wasm32")'.dependencies.backon]
-version = "1.2"
-features = ["gloo-timers-sleep"]
-
-[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
-version = "0.2"
-features = ["js"]
-
-[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
-version = "1.46"
-features = ["time"]
-
-[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
-version = "1.14"
-features = [
-    "serde",
-    "v4",
-    "js",
-]
-
 [lints.clippy]
 unused_async = "warn"