Refresh the patch 2004 against newer Cargo.toml
authorVasudev Kamath <vasudev@copyninja.info>
Sun, 15 Apr 2018 09:03:15 +0000 (14:33 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Sun, 15 Apr 2018 09:03:15 +0000 (14:33 +0530)
debian/patches/2004_clean-cargo-deps.patch

index 21e50efe1d46f882dab4767022c138eec8e06b1e..d45ca6c5881b0cd72a110ce4e15e6d1a9087c9f1 100644 (file)
@@ -11,20 +11,49 @@ Forwarded: not-needed
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -56,11 +56,11 @@
+@@ -56,26 +56,26 @@
  [target.'cfg(target_os = "macos")'.dependencies]
- core-foundation = { version = "0.4.4", features = ["mac_os_10_7_support"] }
+ core-foundation = { version = "0.5.1", features = ["mac_os_10_7_support"] }
  
 -[target.'cfg(windows)'.dependencies]
--kernel32-sys = "0.2"
--miow = "0.2"
--psapi-sys = "0.1"
--winapi = "0.2"
-+#[target.'cfg(windows)'.dependencies]
-+#kernel32-sys = "0.2"
-+#miow = "0.2"
-+#psapi-sys = "0.1"
-+#winapi = "0.2"
+-miow = "0.3"
++# [target.'cfg(windows)'.dependencies]
++# miow = "0.3"
+-[target.'cfg(windows)'.dependencies.winapi]
+-version = "0.3"
+-features = [
+-  "handleapi",
+-  "jobapi",
+-  "jobapi2",
+-  "minwindef",
+-  "ntdef",
+-  "processenv",
+-  "processthreadsapi",
+-  "psapi",
+-  "synchapi",
+-  "winerror",
+-  "winbase",
+-  "wincon",
+-  "winnt",
+-]
++# [target.'cfg(windows)'.dependencies.winapi]
++# version = "0.3"
++# features = [
++#   "handleapi",
++#   "jobapi",
++#   "jobapi2",
++#   "minwindef",
++#   "ntdef",
++#   "processenv",
++#   "processthreadsapi",
++#   "psapi",
++#   "synchapi",
++#   "winerror",
++#   "winbase",
++#   "wincon",
++#   "winnt",
++# ]
  
  [dev-dependencies]
  bufstream = "0.1"