Codebase list rust-stfu8 / 336b0d7
Disable the web-sys dep to make instant installable Sylvestre Ledru 2 years ago
3 changed file(s) with 58 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11
22 * Team upload.
33 * Package instant 0.1.12 from crates.io using debcargo 2.5.0
4 * Disable the web-sys dep to make instant installable
45
56 -- Sylvestre Ledru <sylvestre@debian.org> Thu, 30 Dec 2021 10:20:48 +0100
67
0 Index: instant/Cargo.toml
1 ===================================================================
2 --- instant.orig/Cargo.toml
3 +++ instant/Cargo.toml
4 @@ -27,7 +27,8 @@ version = "0.3"
5 [features]
6 inaccurate = []
7 now = []
8 -wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"]
9 +wasm-bindgen = ["js-sys", "wasm-bindgen_rs"]
10 +#, "web-sys"]
11 [target.asmjs-unknown-emscripten.dependencies.js-sys]
12 version = "0.3"
13 optional = true
14 @@ -41,10 +42,10 @@ version = "0.2"
15 optional = true
16 package = "wasm-bindgen"
17
18 -[target.asmjs-unknown-emscripten.dependencies.web-sys]
19 -version = "0.3"
20 -features = ["Window", "Performance", "PerformanceTiming"]
21 -optional = true
22 +#[target.asmjs-unknown-emscripten.dependencies.web-sys]
23 +#version = "0.3"
24 +#features = ["Window", "Performance", "PerformanceTiming"]
25 +#optional = true
26 [target.wasm32-unknown-emscripten.dependencies.js-sys]
27 version = "0.3"
28 optional = true
29 @@ -58,10 +59,10 @@ version = "0.2"
30 optional = true
31 package = "wasm-bindgen"
32
33 -[target.wasm32-unknown-emscripten.dependencies.web-sys]
34 -version = "0.3"
35 -features = ["Window", "Performance", "PerformanceTiming"]
36 -optional = true
37 +#[target.wasm32-unknown-emscripten.dependencies.web-sys]
38 +#version = "0.3"
39 +#features = ["Window", "Performance", "PerformanceTiming"]
40 +#optional = true
41 [target.wasm32-unknown-unknown.dependencies.js-sys]
42 version = "0.3"
43 optional = true
44 @@ -75,7 +76,7 @@ version = "0.2"
45 optional = true
46 package = "wasm-bindgen"
47
48 -[target.wasm32-unknown-unknown.dependencies.web-sys]
49 -version = "0.3"
50 -features = ["Window", "Performance", "PerformanceTiming"]
51 -optional = true
52 +#[target.wasm32-unknown-unknown.dependencies.web-sys]
53 +#version = "0.3"
54 +#features = ["Window", "Performance", "PerformanceTiming"]
55 +#optional = true
0 disable-web-sys-dep.diff