File: remove-wasm-deps.patch

package info (click to toggle)
rust-plotters 0.3.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: makefile: 2
file content (28 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (2)
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
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -257,25 +257,6 @@
     "pathfinder_geometry",
 ]
 
-[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.wasm-bindgen]
-version = "0.2.89"
-
-[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.web-sys]
-version = "0.3.66"
-features = [
-    "Document",
-    "DomRect",
-    "Element",
-    "HtmlElement",
-    "Node",
-    "Window",
-    "HtmlCanvasElement",
-    "CanvasRenderingContext2d",
-]
-
-[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies.wasm-bindgen-test]
-version = "0.3.39"
-
 [target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.ab_glyph]
 version = "0.2.12"
 optional = true