File: drop-windows-dep.patch

package info (click to toggle)
rust-chrono 0.4.42-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,572 kB
  • sloc: makefile: 2
file content (30 lines) | stat: -rw-r--r-- 662 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
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
@@ -60,3 +60,2 @@
 clock = [
-    "winapi",
     "iana-time-zone",
@@ -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.2"
-optional = true
-
-[target."cfg(windows)".dev-dependencies.windows-bindgen]
-version = "0.63"