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>
Wed, 4 Sep 2024 18:13:19 +0000 (20:13 +0200)
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/ansi_term-0.12.1/Cargo.toml
vendor/anstream-0.6.14/Cargo.toml
vendor/anstyle-query-1.0.3/Cargo.toml
vendor/backtrace-0.3.71/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.4/Cargo.toml
vendor/curl-0.4.46/Cargo.toml
vendor/curl-sys-0.4.72+curl-8.6.0/Cargo.toml
vendor/dbus-0.9.7/Cargo.toml
vendor/dirs-sys-0.3.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.3/Cargo.toml
vendor/errno-0.3.9/Cargo.toml
vendor/fd-lock-4.0.2/Cargo.toml
vendor/filetime-0.2.23/Cargo.toml
vendor/gix-sec-0.10.6/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.3/Cargo.toml
vendor/libssh2-sys-0.3.0/Cargo.toml
vendor/nu-ansi-term-0.46.0/Cargo.toml
vendor/nu-ansi-term-0.49.0/Cargo.toml
vendor/opener-0.5.2/Cargo.toml
vendor/opener-0.6.1/Cargo.toml
vendor/opener-0.7.1/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.7/Cargo.toml
vendor/socket2-0.5.7/Cargo.toml
vendor/stacker-0.1.15/Cargo.toml
vendor/sysinfo-0.30.12/Cargo.toml
vendor/tempfile-3.10.1/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.37.0/Cargo.toml
vendor/uuid-1.8.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 0e5febabd2feea0988ef0a197ce87affa22d2228..3256c75b0ed3a64847e122127eecedbb4ef46c79 100644 (file)
@@ -38,6 +38,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 853619db70d31af478f081a1fe7765064d3839f3..b37c9d952b7f666340e3a518d795f1c32dd97c96 100644 (file)
@@ -138,14 +138,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 14f916ff53a6a1278cd9da517df2149454385b3d..eb48a599b64d255acbde50a5cac70d277537c9d3 100644 (file)
@@ -79,12 +79,6 @@ replace = """
 [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
 search = "<!-- next-url -->"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_System_Console",
-    "Win32_Foundation",
-]
 
 [lints.clippy]
 bool_assert_comparison = "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 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 cd496d104c87b1e051e92fb54f996eca94fbf1b2..414adee5e0325f17dd9c0c053fa352ee222c2b69 100644 (file)
@@ -56,23 +56,5 @@ features = [
 ]
 default-features = false
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Threading",
-    "Win32_Security",
-    "Win32_System_Console",
-]
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.52"
-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 ea20c0352bd335d65dd851f1acf95a6245eaa63d..0751f3dcb5d8a930a649637034159134f5b3b9b1 100644 (file)
@@ -73,13 +73,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 9951d241464988c8689954d05c9dac1ef792eeb1..0a86f4d1a4099de9ddff6a2728c98e60ded4f220 100644 (file)
@@ -22,6 +22,3 @@ version = "0.4"
 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"]
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 8ef5b93980ca964b9ae3d1afeab5d88c5cac3255..44ae34accba1b0df706166a9780cd53fdf8f92f2 100644 (file)
@@ -99,7 +99,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 0540ffb89db6bcd207c06bdb401ad88b95f6c4eb..2c65fa52e37dab906c577d273013fc72d92459cf 100644 (file)
@@ -38,10 +38,3 @@ version = "0.4.1"
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.27"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-]
index df523e892b9cde38fa85738a7739cc3f02367be0..da37840cf2718c3c28413e68ef5b23f978176948 100644 (file)
@@ -57,16 +57,3 @@ serde = [
 
 [target."cfg(not(windows))".dependencies.libc]
 version = "0.2.123"
-
-[target."cfg(windows)".dependencies.gix-path]
-version = "^0.10.7"
-
-[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 d5e55487b703acc9b6f5e35c93407f0cda0a3b7c..2204533654442dcf4fd87abf92584a6bf75ca0b8 100644 (file)
@@ -42,10 +42,3 @@ 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"]
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 f36dadea687cb2577cae0113bdde8976c21d4711..3e865233bb44bec80a03227510e2ba106f026d53 100644 (file)
@@ -42,13 +42,3 @@ version = "1.0.94"
 [features]
 derive_serde_style = ["serde"]
 gnu_legacy = []
-
-[target."cfg(windows)".dependencies.windows]
-version = "0.48.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 bfd045a9a33f33334d799596556c038e60c035d7..0a324deb2b1c8479beb23d1770bf3545f673c818 100644 (file)
@@ -39,7 +39,6 @@ default = ["dbus-vendored"]
 reveal = [
     "dep:url",
     "dep:dbus",
-    "windows-sys/Win32_System_Com",
 ]
 
 [target."cfg(target_os = \"linux\")".dependencies.bstr]
@@ -53,16 +52,5 @@ optional = true
 version = "2"
 optional = true
 
-[target."cfg(windows)".dependencies.normpath]
-version = "1"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52"
-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 2f9e2f42e306ff9c561bebdc7937d8cadd187390..d944ff8229e52f99c1795f55e790e7ec2bc99188 100644 (file)
@@ -174,7 +174,6 @@ cmd = [
     "dep:os_pipe",
     "dep:wait-timeout",
     "dep:libc",
-    "dep:windows-sys",
 ]
 color = [
     "dep:anstream",
@@ -215,12 +214,6 @@ term-svg = [
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.137"
 optional = true
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.52.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 76de872d3dfe522111beca290c48ebd3039a6f16..7b80d26dc3716a3da662ead680e738c0313cf642 100644 (file)
@@ -78,44 +78,3 @@ version = "1.18"
 
 [target."cfg(not(any(target_os = \"unknown\", target_arch = \"wasm32\")))".dependencies.libc]
 version = "^0.2.153"
-
-[target."cfg(windows)".dependencies.ntapi]
-version = "0.4"
-
-[target."cfg(windows)".dependencies.windows]
-version = "0.52"
-features = [
-    "Wdk_System_SystemInformation",
-    "Wdk_System_SystemServices",
-    "Wdk_System_Threading",
-    "Win32_Foundation",
-    "Win32_NetworkManagement_IpHelper",
-    "Win32_NetworkManagement_NetManagement",
-    "Win32_NetworkManagement_Ndis",
-    "Win32_Networking_WinSock",
-    "Win32_Security",
-    "Win32_Security_Authentication_Identity",
-    "Win32_Security_Authorization",
-    "Win32_Storage_FileSystem",
-    "Win32_System_Com",
-    "Win32_System_Diagnostics_Debug",
-    "Win32_System_IO",
-    "Win32_System_Ioctl",
-    "Win32_System_LibraryLoader",
-    "Win32_System_Kernel",
-    "Win32_System_Memory",
-    "Win32_System_Ole",
-    "Win32_System_Performance",
-    "Win32_System_Power",
-    "Win32_System_ProcessStatus",
-    "Win32_System_Registry",
-    "Win32_System_RemoteDesktop",
-    "Win32_System_Rpc",
-    "Win32_System_SystemInformation",
-    "Win32_System_SystemServices",
-    "Win32_System_Threading",
-    "Win32_System_Variant",
-    "Win32_System_WindowsProgramming",
-    "Win32_System_Wmi",
-    "Win32_UI_Shell",
-]
index ee1016f8de8df698277b62c9fd2de1a4689be704..88f6a242184bc32af531975dca666e2906e60e53 100644 (file)
@@ -47,10 +47,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.52"
-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 0826335c60bb7028d7b213fba27f39929a672aa3..6273a668a940b1ce88d01df84057ca715ba903b3 100644 (file)
@@ -130,11 +130,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",
@@ -143,9 +138,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 = [
@@ -158,8 +150,6 @@ signal = [
     "mio/net",
     "mio/os-ext",
     "signal-hook-registry",
-    "windows-sys/Win32_Foundation",
-    "windows-sys/Win32_System_Console",
 ]
 sync = []
 test-util = [
@@ -224,14 +214,3 @@ features = [
     "socket",
 ]
 default-features = false
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48"
-optional = true
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.48"
-features = [
-    "Win32_Foundation",
-    "Win32_Security_Authorization",
-]
index 6bc7d1133f02ba47a71dc6241fdb0b6c88c84f4d..e6df87aa94c6448c9b1e7d4418648ae8527c01e5 100644 (file)
@@ -197,7 +197,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"