From: Christopher Hoskin <mans0954@debian.org>
Date: Wed, 26 Jan 2022 19:36:13 +0000
Subject: dependencies

Forwarded: not-needed
---
 Cargo.toml                | 19 +++++++------------
 src/elan-dist/Cargo.toml  | 11 +++--------
 src/elan-utils/Cargo.toml | 15 +++++----------
 3 files changed, 15 insertions(+), 30 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index f9f77c9..708bae1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -32,30 +32,25 @@ error-chain = "0.12.4"
 itertools = "0.10.0"
 libc = "0.2.82"
 markdown = "0.3.0"
-rand = "0.8.2"
+rand = "^0.8.2"
 regex = "1.4.3"
-remove_dir_all = "0.6.1"
+remove_dir_all = "^0.5.2"
 same-file = "1.0.6"
 scopeguard = "1.1.0"
 serde = "1.0.119"
 serde_derive = "1.0.119"
-serde_json = "1.0.61"
+serde_json = "^1.0.41"
 sha2 = "0.9.2"
-tempfile = "3.2.0"
-term = "0.7.0"
+tempfile = "^3.1.0"
+term = "^0.5.2"
 time = "0.3.4"
 toml = "0.5.8"
 url = "2.2.0"
-wait-timeout = "0.2.0"
+wait-timeout = "^0.1.5"
 zip = "0.5.9"
 tar = ">=0.4.36"
 flate2 = "1.0.14"
-json = "0.12.4"
-
-[target."cfg(windows)".dependencies]
-winapi = { version = "0.3.9", features = ["jobapi", "jobapi2", "processthreadsapi", "psapi", "synchapi", "winuser"] }
-winreg = "0.8.0"
-gcc = "0.3.55"
+json = "0.12.0"
 
 [workspace]
 members = ["src/download", "src/elan-dist", "src/elan-utils"]
diff --git a/src/elan-dist/Cargo.toml b/src/elan-dist/Cargo.toml
index 319468e..576f7bf 100644
--- a/src/elan-dist/Cargo.toml
+++ b/src/elan-dist/Cargo.toml
@@ -11,25 +11,20 @@ license = "MIT OR Apache-2.0"
 [dependencies]
 regex = "1.4.3"
 itertools = "0.10.0"
-ole32-sys = "0.2.0"
 url = "2.2.1"
 tar = "0.4.33"
 flate2 = "1.0.14"
 zstd = "0.9"
 walkdir = "2.3.1"
 toml = "0.5.8"
-sha2 = "0.9.3"
-remove_dir_all = "0.7.0"
+sha2 = "^0.9.2"
+remove_dir_all = "^0.5.2"
 elan-utils = { path = "../elan-utils" }
 error-chain = "0.12.4"
-json = "0.12.4"
+json = "^0.12.0"
 zip = "0.5.13"
 filetime = "0.2.14"
 
-[target."cfg(windows)".dependencies]
-winapi = { version = "0.3.9", features = ["handleapi", "sysinfoapi", "tlhelp32", "winnt"] }
-winreg = "0.8.0"
-
 [target."cfg(not(windows))".dependencies]
 libc = "0.2.88"
 
diff --git a/src/elan-utils/Cargo.toml b/src/elan-utils/Cargo.toml
index 19ed717..dc3aa11 100644
--- a/src/elan-utils/Cargo.toml
+++ b/src/elan-utils/Cargo.toml
@@ -11,19 +11,14 @@ license = "MIT OR Apache-2.0"
 download = { path = "../download" }
 error-chain = "0.12.4"
 libc = "0.2.88"
-rand = "0.8.3"
-remove_dir_all = "0.7.0"
+rand = "^0.8.3"
+remove_dir_all = "^0.5.2"
 scopeguard = "1.1.0"
-semver = "0.11.0"
-sha2 = "0.9.3"
+semver = "0.9.0"
+sha2 = "0.9.2"
 toml = "0.5.8"
 url = "2.2.1"
 curl = "0.4.34"
-openssl = { version = "0.10", features = ["vendored"] }
+openssl = { version = "0.10" }
 regex = "1.4.3"
 dirs = "3.0.1"
-
-[target."cfg(windows)".dependencies]
-winapi = { version = "0.3.9", features = ["combaseapi", "errhandlingapi", "fileapi", "handleapi", 
-    "ioapiset", "minwindef", "processthreadsapi", "shlobj", "shtypes", "userenv", "winbase", "winerror", "winnt", "winioctl"] }
-winreg = "0.8.0"
