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>
Mon, 24 Jun 2024 06:25:58 +0000 (08:25 +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/Cargo.toml
vendor/ansi_term/Cargo.toml
vendor/anstream/Cargo.toml
vendor/anstyle-query/Cargo.toml
vendor/backtrace/Cargo.toml
vendor/chrono/Cargo.toml
vendor/colored/Cargo.toml
vendor/console/Cargo.toml
vendor/ctrlc/Cargo.toml
vendor/curl-sys/Cargo.toml
vendor/curl/Cargo.toml
vendor/dirs-sys-0.3.7/Cargo.toml
vendor/dirs-sys-next/Cargo.toml
vendor/dlmalloc/Cargo.toml
vendor/env_logger/Cargo.toml
vendor/errno/Cargo.toml
vendor/fd-lock/Cargo.toml
vendor/filetime/Cargo.toml
vendor/gix-sec/Cargo.toml
vendor/home/Cargo.toml
vendor/iana-time-zone/Cargo.toml
vendor/ignore-0.4.20/Cargo.toml
vendor/ignore/Cargo.toml
vendor/is-terminal/Cargo.toml
vendor/libloading/Cargo.toml
vendor/libssh2-sys/Cargo.toml
vendor/mio/Cargo.toml
vendor/native-tls/Cargo.toml
vendor/nu-ansi-term-0.46.0/Cargo.toml
vendor/opener-0.5.2/Cargo.toml
vendor/opener/Cargo.toml
vendor/os_info/Cargo.toml
vendor/parking_lot_core/Cargo.toml
vendor/reqwest/Cargo.toml
vendor/rustix/Cargo.toml
vendor/same-file/Cargo.toml
vendor/snapbox/Cargo.toml
vendor/socket2/Cargo.toml
vendor/stacker/Cargo.toml
vendor/sysinfo/Cargo.toml
vendor/tempfile/Cargo.toml
vendor/term/Cargo.toml
vendor/termcolor/Cargo.toml
vendor/terminal_size/Cargo.toml
vendor/termize/Cargo.toml
vendor/tokio-native-tls/Cargo.toml
vendor/tokio/Cargo.toml
vendor/uuid/Cargo.toml
vendor/walkdir/Cargo.toml
vendor/yansi-term/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 94b329df49f0218be9ad10f76b24b3c4a5b4af8e..de559f10a23da1da91e6c0fd0ff2735a7592e05c 100644 (file)
@@ -130,11 +130,4 @@ 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
index 63fead3fb037bb78d40407c3b6f33ba55b83be2f..b3cc66e38f165f8a82c961ea1865fb20c23b5cfc 100644 (file)
@@ -72,9 +72,3 @@ 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",
-]
index c13e7ee3071ada069f51faa5b21691aa21281667..7b01a6f121e00be59f78833b7fed5fe85bf4fbe5 100644 (file)
@@ -104,16 +104,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]
@@ -139,7 +129,3 @@ features = [
     "archive",
 ]
 default-features = false
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-optional = true
index 9f0f82f641826be1a8580405aa254c56fe810c81..59a88907ba72440dd880b54042292a24651549b6 100644 (file)
@@ -87,7 +87,7 @@ version = "1"
 __internal_bench = []
 alloc = []
 clock = [
-    "winapi",
+    "std",
     "iana-time-zone",
     "android-tzdata",
     "now",
@@ -124,7 +124,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"
@@ -145,10 +144,3 @@ optional = true
 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.52"
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 82ebb4233b819749101d52c634805a20fc8a3efc..a364e82a06c881acafb1b4985798d13cf4f41c87 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 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 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 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 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 3c1e3e60c23374658ebf4e2ed5399503a5f2e0b4..48052666686e4bf207934b8dc74822b81012a93e 100644 (file)
@@ -99,7 +99,7 @@ harness = false
 
 [dependencies.anstream]
 version = "0.6.11"
-features = ["wincon"]
+features = []
 optional = true
 default-features = false
 
index e1d0bf51536cb5f5ba75f6734c6fd7435fa31001..60eeb86d4031e01684405cdc47032c703bc5d09d 100644 (file)
@@ -41,9 +41,3 @@ default-features = false
 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 33cc57e5eeaf8e46a2b4d106b1b5257bea43a075..7ad956487ac5c9fadfa0ee9dcc08ece3afa456d1 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.4"
-
-[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 08933a7c1e658051f6e0a39379b3467a5f9b855a..b4b0482f7f3ca47050555ebd95527e9bc91ab2f7 100644 (file)
@@ -54,14 +54,3 @@ features = ["stdio"]
 
 [target."cfg(target_os = \"hermit\")".dependencies.hermit-abi]
 version = "0.3.0"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_System_Console",
-]
-
-[target."cfg(windows)".dev-dependencies.tempfile]
-version = "3"
index f56c1b3d484fc923652245ec9542425c03dc3578..302b4efb297f92b7829e532dac6a454ac59ee80b 100644 (file)
@@ -40,12 +40,5 @@ version = "0.2"
 [dev-dependencies.static_assertions]
 version = "1.1"
 
-[dev-dependencies.windows-sys]
-version = "0.52"
-features = ["Win32_Foundation"]
-
 [target."cfg(unix)".dependencies.cfg-if]
 version = "1"
-
-[target."cfg(windows)".dependencies.windows-targets]
-version = ">=0.48, <0.53"
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 5d112d9e2644f37eb3a9c0ae6ab12e3bfc0d4f9b..467ab245b6dd24534d2469eb5d711d40bfd5238c 100644 (file)
@@ -103,8 +103,6 @@ default = ["log"]
 net = []
 os-ext = [
     "os-poll",
-    "windows-sys/Win32_System_Pipes",
-    "windows-sys/Win32_Security",
 ]
 os-poll = []
 
@@ -117,12 +115,3 @@ version = "0.11.0"
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.149"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48"
-features = [
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-    "Win32_Storage_FileSystem",
-    "Win32_System_IO",
-    "Win32_System_WindowsProgramming",
-]
index a0592366cd38691c7e07542589a0a15616454982..d36b44b95c5d07fff5bf9ffc4f1f30993f4089f3 100644 (file)
@@ -61,6 +61,3 @@ version = "0.1"
 
 [target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.openssl-sys]
 version = "0.9.55"
-
-[target."cfg(target_os = \"windows\")".dependencies.schannel]
-version = "0.1.17"
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 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 52a062f3982543d99a681207b28f7e5efccdafd2..e1f347be9e7d21bb8fa5f7d6ef380edef5c446b3 100644 (file)
@@ -48,18 +48,3 @@ version = "1"
 
 [features]
 default = ["serde"]
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.8"
-features = [
-    "minwindef",
-    "ntdef",
-    "ntstatus",
-    "sysinfoapi",
-    "winnt",
-    "winuser",
-    "libloaderapi",
-    "processthreadsapi",
-    "winerror",
-    "winreg",
-]
index 83d9f23dd405f906e10e12ba531d5a95874fb84d..dbe1534516ac839485a9fe2ad7f0427aa2f599cb 100644 (file)
@@ -61,6 +61,3 @@ version = "0.4"
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.95"
-
-[target."cfg(windows)".dependencies.windows-targets]
-version = "0.48.0"
index c5b6f53f9f6c46562af2c855374c7e124a119bdb..30ec5e9d085656cbc3a2b09f5045b2e07d77d770 100644 (file)
@@ -455,9 +455,3 @@ features = ["serde-serialize"]
 
 [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
 version = "0.3"
-
-[target."cfg(target_os = \"macos\")".dependencies.system-configuration]
-version = "0.5.1"
-
-[target."cfg(windows)".dependencies.winreg]
-version = "0.50.0"
index 8184720b771ae6e85f34407abfc2d9291b51da74..974c881f6779cdaf14711b540a5f0f4a63dca22b 100644 (file)
@@ -253,20 +253,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 8cba1eca003e50335ec467557ec7cf4f7e17e1f3..68db44f27145f998e1a77b954e627f4fda94afd0 100644 (file)
@@ -169,7 +169,6 @@ cmd = [
     "dep:os_pipe",
     "dep:wait-timeout",
     "dep:libc",
-    "dep:windows-sys",
 ]
 color = [
     "dep:anstream",
@@ -211,8 +210,3 @@ 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
index 8d36edec0ed9fb33f8324958c3cb2488ff72d501..2fb63946f000ca51c4bb19915ccb6f8c57f30e3a 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 fbc96e4cea8f9e0b9e84e15b08d5eb6a27eb239c..5f0ef2df0fa8585965b04a773e8b7556fa2f34f8 100644 (file)
@@ -77,44 +77,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 76be3d3939d0fe695fd84357ebf49460adec3127..3ada811d2fb70dce528110a913ec8facfa105611 100644 (file)
@@ -76,20 +76,3 @@ version = "0.10"
 
 [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dev-dependencies.security-framework]
 version = "0.2"
-
-[target."cfg(windows)".dev-dependencies.schannel]
-version = "0.1"
-
-[target."cfg(windows)".dev-dependencies.winapi]
-version = "0.3"
-features = [
-    "lmcons",
-    "basetsd",
-    "minwinbase",
-    "minwindef",
-    "ntdef",
-    "sysinfoapi",
-    "timezoneapi",
-    "wincrypt",
-    "winerror",
-]
index a0d1781984ed19fb46b84597273795e08684705f..686cba95d0bf606f1f6451f94013555d7cd9d853 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 320fd4c533a18d768a42fc686770c356409dac73..5bca38442c1bc37d98bd8867a7b018396dbc1771 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"