d-0021-vendor-remove-windows-dependencies
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 6 Sep 2023 19:23:24 +0000 (13:23 -0600)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Tue, 29 Oct 2024 12:18:35 +0000 (13:18 +0100)
use something like

 find vendor -iname Cargo.toml -exec grep -H -n -e 'schannel' -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;

to find dependencies on windows targets in vendored crates. you will likely
need to remove some hunks from this patch after pruning dependencies, since
hopefully a few of the crates patched during early rebasing are eliminated.

windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.

Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0021-vendor-remove-windows-dependencies.patch

50 files changed:
vendor/android-tzdata-0.1.1/Cargo.toml
vendor/anstream-0.6.15/Cargo.toml
vendor/anstyle-query-1.1.1/Cargo.toml
vendor/backtrace-0.3.71/Cargo.toml
vendor/backtrace-0.3.73/Cargo.toml
vendor/chrono-0.4.38/Cargo.toml
vendor/colored-2.1.0/Cargo.toml
vendor/console-0.15.8/Cargo.toml
vendor/ctrlc-3.4.5/Cargo.toml
vendor/curl-0.4.46/Cargo.toml
vendor/curl-sys-0.4.74+curl-8.9.0/Cargo.toml
vendor/dbus-0.9.7/Cargo.toml
vendor/dirs-sys-0.4.1/Cargo.toml
vendor/dirs-sys-next-0.1.2/Cargo.toml
vendor/dlmalloc-0.2.6/Cargo.toml
vendor/env_logger-0.11.5/Cargo.toml
vendor/errno-0.3.9/Cargo.toml
vendor/fd-lock-4.0.2/Cargo.toml
vendor/filetime-0.2.24/Cargo.toml
vendor/gix-path-0.10.9/Cargo.toml
vendor/gix-sec-0.10.7/Cargo.toml
vendor/home-0.5.9/Cargo.toml
vendor/iana-time-zone-0.1.60/Cargo.toml
vendor/ignore-0.4.20/Cargo.toml
vendor/ignore-0.4.22/Cargo.toml
vendor/is-terminal-0.4.12/Cargo.toml
vendor/libloading-0.8.5/Cargo.toml
vendor/libssh2-sys-0.3.0/Cargo.toml
vendor/nu-ansi-term-0.46.0/Cargo.toml
vendor/nu-ansi-term-0.50.1/Cargo.toml
vendor/opener-0.5.2/Cargo.toml
vendor/opener-0.6.1/Cargo.toml
vendor/opener-0.7.2/Cargo.toml
vendor/os_info-3.8.2/Cargo.toml
vendor/parking_lot_core-0.9.10/Cargo.toml
vendor/rustix-0.38.34/Cargo.toml
vendor/same-file-1.0.6/Cargo.toml
vendor/snapbox-0.6.17/Cargo.toml
vendor/socket2-0.5.7/Cargo.toml
vendor/stacker-0.1.15/Cargo.toml
vendor/sysinfo-0.31.2/Cargo.toml
vendor/tempfile-3.12.0/Cargo.toml
vendor/term-0.7.0/Cargo.toml
vendor/termcolor-1.4.1/Cargo.toml
vendor/terminal_size-0.3.0/Cargo.toml
vendor/termize-0.1.1/Cargo.toml
vendor/tokio-1.39.3/Cargo.toml
vendor/uuid-1.10.0/Cargo.toml
vendor/walkdir-2.5.0/Cargo.toml
vendor/yansi-term-0.1.2/Cargo.toml

index 805128a82c68feebd051b18f8b25dd22fc00bb15..068271781633c16cb6c9ad22c3b57c5903fc8dfa 100644 (file)
@@ -32,3 +32,4 @@ repository = "https://github.com/RumovZ/android-tzdata"
 
 [dev-dependencies.zip]
 version = "0.6.4"
+repository = "https://github.com/rust-cli/concolor"
index 677fa95d5c3c29be945e1e6c460a5723311c1b15..deca21bc0fc45377ff102747c9c3e48dbe7c4394 100644 (file)
@@ -152,14 +152,8 @@ version = "0.2.0"
 auto = ["dep:anstyle-query"]
 default = [
     "auto",
-    "wincon",
 ]
 test = []
-wincon = ["dep:anstyle-wincon"]
-
-[target."cfg(windows)".dependencies.anstyle-wincon]
-version = "3.0.1"
-optional = true
 
 [lints.clippy]
 bool_assert_comparison = "allow"
index 4fed84e1ae902e40b88e715b568b1749be2c8b5b..dffd33c871a81e14de2c45c72e04fc0cd5c4330a 100644 (file)
@@ -92,13 +92,6 @@ path = "src/lib.rs"
 name = "query"
 path = "examples/query.rs"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_System_Console",
-    "Win32_Foundation",
-]
-
 [lints.clippy]
 bool_assert_comparison = "allow"
 branches_sharing_code = "allow"
index 6ac3a6db066c828574b543cb4d2a25126dc8cfc9..0749f2313200b9f8f512bd3d88b2839349be993e 100644 (file)
@@ -105,16 +105,6 @@ serialize-serde = ["serde"]
 std = []
 unix-backtrace = []
 verify-winapi = [
-    "winapi/dbghelp",
-    "winapi/handleapi",
-    "winapi/libloaderapi",
-    "winapi/memoryapi",
-    "winapi/minwindef",
-    "winapi/processthreadsapi",
-    "winapi/synchapi",
-    "winapi/tlhelp32",
-    "winapi/winbase",
-    "winapi/winnt",
 ]
 
 [target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.addr2line]
@@ -141,7 +131,3 @@ features = [
     "archive",
 ]
 default-features = false
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-optional = true
index 32ee718ccedd587196b3ae8fd4e39b4a75694d93..78e4bee36d01d8651035b226e845847bfd7de5b1 100644 (file)
@@ -121,18 +121,6 @@ serialize-serde = ["serde"]
 std = []
 unix-backtrace = []
 verify-winapi = [
-    "winapi/dbghelp",
-    "winapi/handleapi",
-    "winapi/libloaderapi",
-    "winapi/memoryapi",
-    "winapi/minwindef",
-    "winapi/processthreadsapi",
-    "winapi/synchapi",
-    "winapi/tlhelp32",
-    "winapi/winbase",
-    "winapi/winnt",
-    "winapi/winnls",
-    "winapi/stringapiset",
 ]
 
 [target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.addr2line]
@@ -160,9 +148,5 @@ features = [
 ]
 default-features = false
 
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-optional = true
-
 [lints.rust]
 unexpected_cfgs = "allow"
index 19714713c198145fe78558508ec27a3f0a237f20..e15e3128d5e74664bdaf7f991f0c8129a068fb7c 100644 (file)
@@ -88,7 +88,7 @@ version = "1"
 __internal_bench = []
 alloc = []
 clock = [
-    "winapi",
+    "std",
     "iana-time-zone",
     "android-tzdata",
     "now",
@@ -125,7 +125,6 @@ wasmbind = [
     "wasm-bindgen",
     "js-sys",
 ]
-winapi = ["windows-targets"]
 
 [target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
 version = "0.3"
@@ -147,9 +146,3 @@ version = "0.1.45"
 features = ["fallback"]
 optional = true
 
-[target."cfg(windows)".dependencies.windows-targets]
-version = "0.52"
-optional = true
-
-[target."cfg(windows)".dev-dependencies.windows-bindgen]
-version = "0.56"
index c2134d73ad9cb2330ab069a01037f3aa4b4ecf9b..9399b38cb6394bc396d796d3f137f36ee62e373b 100644 (file)
@@ -39,10 +39,3 @@ version = "=1.0.0-beta.3"
 
 [features]
 no-color = []
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-]
index ecc237ca6e82d50d86863839894cf2aa4494220d..5e477176c819d61d406f4246fcd8e8642842ad8f 100644 (file)
@@ -58,15 +58,3 @@ default = [
     "ansi-parsing",
 ]
 windows-console-colors = ["ansi-parsing"]
-
-[target."cfg(windows)".dependencies.encode_unicode]
-version = "0.3"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-    "Win32_Storage_FileSystem",
-    "Win32_UI_Input_KeyboardAndMouse",
-]
index c32a86c9e2936f8b576e75b57687fa0f3f6313db..3c1f9185539509ae483eccf6446ab30c861973b9 100644 (file)
@@ -56,23 +56,5 @@ features = [
 ]
 default-features = false
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Threading",
-    "Win32_Security",
-    "Win32_System_Console",
-]
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.59"
-features = [
-    "Win32_Storage_FileSystem",
-    "Win32_Foundation",
-    "Win32_System_IO",
-    "Win32_System_Console",
-]
-
 [badges.maintenance]
 status = "passively-maintained"
index fc961dd8d38f54fa793c29480c815bcdb6dc4f05..d102279498026097cf6bc7520c971c0fbfe3ca45 100644 (file)
@@ -116,17 +116,6 @@ optional = true
 version = "0.9.64"
 optional = true
 
-[target."cfg(target_env = \"msvc\")".dependencies.schannel]
-version = "0.1.13"
-
-[target."cfg(target_env = \"msvc\")".dependencies.windows-sys]
-version = "0.52"
-features = [
-    "Win32_Foundation",
-    "Win32_System_LibraryLoader",
-    "Win32_Security_Cryptography",
-]
-
 [badges.appveyor]
 repository = "alexcrichton/curl-rust"
 
index bc93c54a800ba7ed46d14b2ea11480cd98e83a28..dce656acd8a38e93f8e042afee9c7fe99ba13afe 100644 (file)
@@ -77,13 +77,6 @@ zlib-ng-compat = [
 version = "0.9.64"
 optional = true
 
-[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
-version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-features = ["Win32_Networking_WinSock"]
-
 [badges.appveyor]
 repository = "alexcrichton/curl-rust"
 
index d9f6d844569806ff2a3e64e3ad0d0c7772aa447f..e04d90bfcee53fbbdda64ce8169c8a8c980b1a99 100644 (file)
@@ -63,9 +63,5 @@ no-string-validation = []
 stdfd = []
 vendored = ["libdbus-sys/vendored"]
 
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.0"
-features = ["winsock2"]
-
 [badges.maintenance]
 status = "actively-developed"
index 4a992ae5a3f83de930f266d60817ced31be5bbd7..86aec87debbb63d309a7d2066d69575eba1eb93f 100644 (file)
@@ -27,12 +27,3 @@ default-features = false
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48.0"
-features = [
-    "Win32_UI_Shell",
-    "Win32_Foundation",
-    "Win32_Globalization",
-    "Win32_System_Com",
-]
index e9d8d0ca99e93b7ac98f7bfded1319e7f73223ed..acb2eb7dc53320002cdbc360d88569860ca921b8 100644 (file)
@@ -25,8 +25,5 @@ version = "0.4.0"
 default-features = false
 [target."cfg(unix)".dependencies.libc]
 version = "0.2"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["knownfolders", "objbase", "shlobj", "winbase", "winerror"]
 [badges.maintenance]
 status = "as-is"
index dbc517bb44cb0463d113a21e6fe6a3439a1f9079..dfc6b0ef6649736f9fa5a6133a05e44fade8b661 100644 (file)
@@ -62,12 +62,3 @@ rustc-dep-of-std = [
 [target."cfg(all(unix, not(target_arch = \"wasm32\")))".dependencies.libc]
 version = "0.2"
 default-features = false
-
-[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Memory",
-    "Win32_System_Threading",
-    "Win32_System_SystemInformation",
-]
index b2cc50918f88da2d486c1ab4f0a14527a785a627..140ea38e83f004d6bc6d79fa85c7a8d27f8735bb 100644 (file)
@@ -140,7 +140,7 @@ harness = false
 
 [dependencies.anstream]
 version = "0.6.11"
-features = ["wincon"]
+features = []
 optional = true
 default-features = false
 
index d06c01f573f113584ee3458b96041878f7641017..c56eef1315ff8f7958011cc622dc369e62bbbddd 100644 (file)
@@ -40,10 +40,3 @@ default-features = false
 [target."cfg(unix)".dependencies.libc]
 version = "0.2"
 default-features = false
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Diagnostics_Debug",
-]
index 88826bc5ae8e2dd65b3d717dea11fc4353b25d24..fbf815df8ac0a8d4f2164110aec560cc1030cdff 100644 (file)
@@ -43,11 +43,3 @@ version = "3.0.8"
 [target."cfg(unix)".dependencies.rustix]
 version = "0.38.0"
 features = ["fs"]
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_System_IO",
-]
index 9afe9e2709b9109d0deee7b860e58d648b43df3e..4f5b30c9515dfc54cd1e90da906b65aa1fa48b9d 100644 (file)
@@ -48,9 +48,3 @@ version = "0.1.0"
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.27"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-]
index 7c7ef76e342eff5a9bc8d9e4405d3655f717dc55..028314f0617f7be724d30a5d51c2f0a596b3ccd3 100644 (file)
@@ -53,13 +53,3 @@ version = "3.3.0"
 
 [target.'cfg(not(target_family = "wasm"))'.dependencies.home]
 version = "0.5.5"
-
-[target."cfg(windows)".dev-dependencies.known-folders]
-version = "1.1.0"
-
-[target."cfg(windows)".dev-dependencies.windows]
-version = "0.58.0"
-features = ["Win32_System_Threading"]
-
-[target."cfg(windows)".dev-dependencies.winreg]
-version = "0.52.0"
index f85bb5c2e945d0c2e708d086444ac1b9b0297c83..09c510fd447d1df2ba77884532569973823348c5 100644 (file)
@@ -65,16 +65,3 @@ serde = [
 
 [target."cfg(not(windows))".dependencies.libc]
 version = "0.2.123"
-
-[target."cfg(windows)".dependencies.gix-path]
-version = "^0.10.9"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Security_Authorization",
-    "Win32_Storage_FileSystem",
-    "Win32_System_Memory",
-    "Win32_System_Threading",
-]
index 93e3432df932de6d749d4ea0332e32553bea4d97..3bb226f1b76213b640c989a077abe0a71236fe58 100644 (file)
@@ -28,14 +28,6 @@ readme = "README.md"
 license = "MIT OR Apache-2.0"
 repository = "https://github.com/rust-lang/cargo"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-features = [
-    "Win32_Foundation",
-    "Win32_UI_Shell",
-    "Win32_System_Com",
-]
-
 [lints.clippy]
 dbg_macro = "warn"
 disallowed_methods = "warn"
index ad5488943ee889bca5faa4899b457778b795de2c..5db5668869439d75ea981e3c0ae059bf36aab260 100644 (file)
@@ -52,6 +52,3 @@ version = "0.1.5"
 
 [target."cfg(target_os = \"haiku\")".dependencies.iana-time-zone-haiku]
 version = "0.1.1"
-
-[target."cfg(target_os = \"windows\")".dependencies.windows-core]
-version = ">=0.50, <=0.52"
index b397dcf8dee828f18dac1908a3e37692919d8e16..2022a8770f8aac6a0c829dd307e9a694b6c488cc 100644 (file)
@@ -64,6 +64,3 @@ version = "0.5.0"
 
 [features]
 simd-accel = ["globset/simd-accel"]
-
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.2"
index d038e57d768b16cdd4731f88392233b96d8bafe5..8a6dc8e44605ec8b6fb74f3bf2d4dcfdbf7bbc78 100644 (file)
@@ -77,5 +77,3 @@ version = "0.5.8"
 [features]
 simd-accel = []
 
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.2"
index 98a88293360b098f77ec2e4878854061bd561ac5..01ce09a53151c36bfa2210a5ed40ddbb13cf28eb 100644 (file)
@@ -57,14 +57,3 @@ features = ["stdio"]
 
 [target."cfg(target_os = \"hermit\")".dependencies.hermit-abi]
 version = "0.3.0"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_System_Console",
-]
-
-[target."cfg(windows)".dev-dependencies.tempfile]
-version = "3"
index 9fa250157c9f7ba16921db3446f8641ce54db2a7..3eda5a2253234ff0b23a39d29f103dee39f8a0b4 100644 (file)
@@ -43,13 +43,6 @@ version = "1.1"
 [target."cfg(unix)".dependencies.cfg-if]
 version = "1"
 
-[target."cfg(windows)".dependencies.windows-targets]
-version = ">=0.48, <0.53"
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.52"
-features = ["Win32_Foundation"]
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 priority = 0
index 45f4a714fb850411c4cbc6c41410c5cf77abe3c4..516644c6f4bf4141d0ff6039bb3d6f65f8099818 100644 (file)
@@ -43,16 +43,8 @@ version = "1.0.25"
 version = "0.3.11"
 
 [features]
-openssl-on-win32 = ["openssl-sys"]
 vendored-openssl = ["openssl-sys/vendored"]
 zlib-ng-compat = ["libz-sys/zlib-ng"]
 
-[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
-version = "0.2"
-
 [target."cfg(unix)".dependencies.openssl-sys]
 version = "0.9.35"
-
-[target."cfg(windows)".dependencies.openssl-sys]
-version = "0.9.35"
-optional = true
index 209e05511dd04b4b976ada6ff229e21b40e90fb3..aa40f02f655e820fba65bae91569ed0fc3baf89f 100644 (file)
@@ -45,13 +45,3 @@ version = "1.0.39"
 
 [features]
 derive_serde_style = ["serde"]
-
-[target."cfg(target_os=\"windows\")".dependencies.winapi]
-version = "0.3.4"
-features = [
-    "consoleapi",
-    "errhandlingapi",
-    "fileapi",
-    "handleapi",
-    "processenv",
-]
index e491c190b3934782ff2f64d575f72c3a389363eb..e01f722e2f3ddd6d69d3bf936896c616ff30980a 100644 (file)
@@ -42,13 +42,3 @@ version = "1.0.94"
 [features]
 derive_serde_style = ["serde"]
 gnu_legacy = []
-
-[target."cfg(windows)".dependencies.windows]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-    "Win32_Storage_FileSystem",
-    "Win32_Security",
-]
-package = "windows-sys"
index 8d91b5ef38722924af006277c9b499361441cf8d..2d7313b718a56788952e48842a4eebe6dcf8ca61 100644 (file)
@@ -32,10 +32,6 @@ version = "0.9"
 [target."cfg(target_os = \"linux\")".dependencies.bstr]
 version = "1"
 
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["shellapi"]
-
 [badges.appveyor]
 branch = "master"
 repository = "Seeker14491/opener"
index 79b4be90d156fe85454cb8aae669706f79a86f15..69cc269918b392dbc17cc5acf0555132928cbd67 100644 (file)
@@ -40,8 +40,6 @@ version = "0.9"
 reveal = [
     "dep:url",
     "dep:dbus",
-    "winapi/shtypes",
-    "winapi/objbase",
 ]
 
 [target."cfg(target_os = \"linux\")".dependencies.bstr]
@@ -56,13 +54,6 @@ optional = true
 version = "2"
 optional = true
 
-[target."cfg(windows)".dependencies.normpath]
-version = "1"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["shellapi"]
-
 [badges.appveyor]
 branch = "master"
 repository = "Seeker14491/opener"
index 5639d3dbce60696750853e1deeff1a44251a15f5..eff5c32efeda1aee5f875d31a4b609478615ebe0 100644 (file)
@@ -48,7 +48,6 @@ default = ["dbus-vendored"]
 reveal = [
     "dep:url",
     "dep:dbus",
-    "windows-sys/Win32_System_Com",
 ]
 
 [target.'cfg(target_os = "linux")'.dependencies.bstr]
@@ -62,16 +61,5 @@ optional = true
 version = "2"
 optional = true
 
-[target."cfg(windows)".dependencies.normpath]
-version = "1"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_UI_Shell",
-    "Win32_UI_WindowsAndMessaging",
-]
-
 [badges.maintenance]
 status = "passively-maintained"
index 9aa206743be38ea268ea29dfd9792a61ef35cbd5..c1a79b86b5df2b576402a53673ebaaa14c1eeeee 100644 (file)
@@ -48,15 +48,3 @@ version = "1"
 
 [features]
 default = ["serde"]
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-features = [
-    "Win32_Foundation",
-    "Win32_System_LibraryLoader",
-    "Win32_System_Registry",
-    "Win32_System_SystemInformation",
-    "Win32_System_SystemServices",
-    "Win32_System_Threading",
-    "Win32_UI_WindowsAndMessaging",
-]
index 3111f2bc4f3cfaffcc429a0e6fb0182851391c7b..c7a53ca5b5785b0fdd72ea9a377906ad14b955f4 100644 (file)
@@ -61,6 +61,3 @@ version = "0.5"
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.95"
-
-[target."cfg(windows)".dependencies.windows-targets]
-version = "0.52.0"
index 613cc6bb06d63acaf68179e4a04c9cc37f0933cd..8cb2637e57727110c36e148c8e18fa18febb4362 100644 (file)
@@ -254,20 +254,3 @@ package = "errno"
 [target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.once_cell]
 version = "1.5.2"
 optional = true
-
-[target."cfg(windows)".dependencies.libc_errno]
-version = "0.3.8"
-default-features = false
-package = "errno"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-    "Win32_NetworkManagement_IpHelper",
-    "Win32_System_Threading",
-]
-
-[target."cfg(windows)".dev-dependencies.ctor]
-version = "0.2.0"
index 4f668208e7a6d5f9154e4121396d8cdc58026bd7..11ef472467384bd99641482a36b2ba154f2842f3 100644 (file)
@@ -25,5 +25,3 @@ license = "Unlicense/MIT"
 repository = "https://github.com/BurntSushi/same-file"
 [dev-dependencies.doc-comment]
 version = "0.3"
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.1"
index 9050c22d325c66ea577adc62276bd844f586651f..a99661e9f53ea5dfd8434f204054adf947807597 100644 (file)
@@ -189,7 +189,6 @@ cmd = [
     "dep:os_pipe",
     "dep:wait-timeout",
     "dep:libc",
-    "dep:windows-sys",
 ]
 color = [
     "dep:anstream",
@@ -231,11 +230,6 @@ term-svg = [
 version = "0.2.137"
 optional = true
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59.0"
-features = ["Win32_Foundation"]
-optional = true
-
 [lints.clippy]
 bool_assert_comparison = "allow"
 branches_sharing_code = "allow"
index d63e89023ac2460f35c152ff5fd6aa2f8ab16a81..a38a474453fd00f88205387ddc1434fc8b3fc23d 100644 (file)
@@ -75,13 +75,3 @@ all = []
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.150"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-features = [
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-    "Win32_System_IO",
-    "Win32_System_Threading",
-    "Win32_System_WindowsProgramming",
-]
index 160cbc017c091f1685537a38046c159d53eadc66..ba02aac07c249ada3154b7170cbe0eefa38ae303 100644 (file)
@@ -43,13 +43,3 @@ version = "0.1.7"
 
 [build-dependencies.cc]
 version = "1.0.2"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.6"
-features = [
-    "memoryapi",
-    "winbase",
-    "fibersapi",
-    "processthreadsapi",
-    "minwindef",
-]
index 495d78c580269e641e264b487321dbc34de5ec4f..1806d3967c250c5596635df8936f232a0139d95d 100644 (file)
@@ -114,12 +114,6 @@ apple-app-store = ["apple-sandbox"]
 apple-sandbox = []
 c-interface = ["default"]
 component = [
-    "windows/Win32_Foundation",
-    "windows/Win32_Security",
-    "windows/Win32_System_Com",
-    "windows/Win32_System_Rpc",
-    "windows/Win32_System_Variant",
-    "windows/Win32_System_Wmi",
 ]
 debug = ["libc/extra_traits"]
 default = [
@@ -131,50 +125,17 @@ default = [
     "multithread",
 ]
 disk = [
-    "windows/Win32_Foundation",
-    "windows/Win32_Storage_FileSystem",
-    "windows/Win32_Security",
-    "windows/Win32_System_IO",
-    "windows/Win32_System_Ioctl",
-    "windows/Win32_System_WindowsProgramming",
 ]
 linux-netdevs = []
 linux-tmpfs = []
 multithread = ["dep:rayon"]
 network = [
-    "windows/Win32_Foundation",
-    "windows/Win32_NetworkManagement_IpHelper",
-    "windows/Win32_NetworkManagement_Ndis",
-    "windows/Win32_Networking_WinSock",
 ]
 system = [
-    "windows/Win32_Foundation",
-    "windows/Wdk_System_SystemInformation",
-    "windows/Wdk_System_SystemServices",
-    "windows/Wdk_System_Threading",
-    "windows/Win32_Security_Authorization",
-    "windows/Win32_System_Diagnostics_Debug",
-    "windows/Win32_System_Kernel",
-    "windows/Win32_System_Memory",
-    "windows/Win32_System_Performance",
-    "windows/Win32_System_Power",
-    "windows/Win32_System_ProcessStatus",
-    "windows/Win32_System_Registry",
-    "windows/Win32_System_RemoteDesktop",
-    "windows/Win32_System_SystemInformation",
-    "windows/Win32_System_SystemServices",
-    "windows/Win32_System_Threading",
-    "windows/Win32_UI_Shell",
-    "dep:ntapi",
     "dep:memchr",
 ]
 unknown-ci = []
 user = [
-    "windows/Win32_Foundation",
-    "windows/Win32_NetworkManagement_NetManagement",
-    "windows/Win32_Security",
-    "windows/Win32_Security_Authentication_Identity",
-    "windows/Win32_Security_Authorization",
 ]
 
 [target.'cfg(all(target_os = "linux", not(target_os = "android")))'.dev-dependencies.tempfile]
@@ -185,11 +146,3 @@ version = "0.8"
 
 [target.'cfg(not(any(target_os = "unknown", target_arch = "wasm32")))'.dependencies.libc]
 version = "^0.2.153"
-
-[target."cfg(windows)".dependencies.ntapi]
-version = "0.4"
-optional = true
-
-[target."cfg(windows)".dependencies.windows]
-version = ">=0.54, <=0.57"
-optional = true
index a199caa07edfaec3a4da91e2f441a445a36725c8..ebaa331c7fe803ae61ae93784ddea3c80bca5843 100644 (file)
@@ -81,10 +81,3 @@ nightly = []
 [target.'cfg(any(unix, target_os = "wasi"))'.dependencies.rustix]
 version = "0.38.31"
 features = ["fs"]
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59"
-features = [
-    "Win32_Storage_FileSystem",
-    "Win32_Foundation",
-]
index e89261eda75c397257cef63c464d3983c4bf5331..ad5d62bdb247405ee98ce18ea6ceb9695109ddcc 100644 (file)
@@ -28,12 +28,6 @@ version = "2"
 
 [features]
 default = []
-[target."cfg(windows)".dependencies.rustversion]
-version = "1"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["consoleapi", "wincon", "handleapi", "fileapi"]
 [badges.appveyor]
 repository = "Stebalien/term"
 
index f90eacae76fd7f970f3f6c1e405f75693a4afe7c..d32db67ae8f8e80864c9b3cecc7d247aa24894b0 100644 (file)
@@ -35,6 +35,3 @@ name = "termcolor"
 bench = false
 
 [dev-dependencies]
-
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.3"
index f810025e675e4dce980a35099857fcaac5abcbab..0fbe3a16465f9b2096b4ac8dd034f1abfd350600 100644 (file)
@@ -30,10 +30,3 @@ repository = "https://github.com/eminence/terminal-size"
 [target."cfg(not(windows))".dependencies.rustix]
 version = "0.38.0"
 features = ["termios"]
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-]
index d248f4db5e4da811640c7f483af4338bf25a4e73..9bd9f37e656f6f858497cdbff8317b40c781533e 100644 (file)
@@ -49,8 +49,5 @@ rpath = false
 [dependencies]
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.66"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.8"
-features = ["handleapi", "processenv", "wincon", "winbase"]
 [badges.cirrus-ci]
 repository = "JohnTitor/termize"
index ff580e3b2607996066e118914443dc72dc3a02c0..ac7b8adb13d3d68b659509fef8f8e94ce1ec504e 100644 (file)
@@ -695,11 +695,6 @@ net = [
     "mio/os-ext",
     "mio/net",
     "socket2",
-    "windows-sys/Win32_Foundation",
-    "windows-sys/Win32_Security",
-    "windows-sys/Win32_Storage_FileSystem",
-    "windows-sys/Win32_System_Pipes",
-    "windows-sys/Win32_System_SystemServices",
 ]
 process = [
     "bytes",
@@ -708,9 +703,6 @@ process = [
     "mio/os-ext",
     "mio/net",
     "signal-hook-registry",
-    "windows-sys/Win32_Foundation",
-    "windows-sys/Win32_System_Threading",
-    "windows-sys/Win32_System_WindowsProgramming",
 ]
 rt = []
 rt-multi-thread = ["rt"]
@@ -720,8 +712,6 @@ signal = [
     "mio/net",
     "mio/os-ext",
     "signal-hook-registry",
-    "windows-sys/Win32_Foundation",
-    "windows-sys/Win32_System_Console",
 ]
 sync = []
 test-util = [
@@ -787,14 +777,3 @@ features = [
     "socket",
 ]
 default-features = false
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-optional = true
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.52"
-features = [
-    "Win32_Foundation",
-    "Win32_Security_Authorization",
-]
index dd443e44b4ad978b6a1cda13b515d66c17dc43e3..23219f17eefd88b44b6942854f3ef472392b45ea 100644 (file)
@@ -194,7 +194,6 @@ version = "0.3"
 
 [target."cfg(target = \"wasm32-unknown-unknown\")".dev-dependencies.wasm-bindgen]
 version = "0.2"
-
 [badges.is-it-maintained-issue-resolution]
 repository = "uuid-rs/uuid"
 
index 4fda2f4c233d2f6c85f206383b802178ccc1f9e9..17416776f28cce937e1401d1fc27d482890b09d6 100644 (file)
@@ -39,9 +39,6 @@ version = "1.0.1"
 [dev-dependencies.doc-comment]
 version = "0.3"
 
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.1"
-
 [badges.appveyor]
 repository = "BurntSushi/walkdir"
 
index 0317866829a0e5fbb1a124ee78110119da156705..88ce8efcfbe3c66a6c6895cde13a597d333aafa4 100644 (file)
@@ -36,9 +36,6 @@ version = "1.0"
 
 [features]
 derive_serde_style = ["serde"]
-[target."cfg(target_os=\"windows\")".dependencies.winapi]
-version = "0.3.4"
-features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "processenv"]
 [badges.maintenance]
 status = "actively-developed"