File: drop-windows-dep.patch

package info (click to toggle)
rust-chrono 0.4.41-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,536 kB
  • sloc: makefile: 2
file content (34 lines) | stat: -rw-r--r-- 753 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
31
32
33
34
Subject: Drop Windows-specific features

These are not going to be built on Debian

Index: chrono/Cargo.toml
===================================================================
--- chrono.orig/Cargo.toml
+++ chrono/Cargo.toml
@@ -58,7 +58,6 @@ features = ["serde"]
 __internal_bench = []
 alloc = []
 clock = [
-    "winapi",
     "iana-time-zone",
     "android-tzdata",
     "now",
@@ -93,7 +92,6 @@ wasmbind = [
     "wasm-bindgen",
     "js-sys",
 ]
-winapi = ["windows-link"]
 
 [lib]
 name = "chrono"
@@ -164,9 +162,3 @@ version = "0.1.45"
 features = ["fallback"]
 optional = true
 
-[target."cfg(windows)".dependencies.windows-link]
-version = "0.1"
-optional = true
-
-[target."cfg(windows)".dev-dependencies.windows-bindgen]
-version = "0.61"