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>
Fri, 4 Apr 2025 16:24:50 +0000 (18:24 +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' -e 'winsplit' {} \;

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

58 files changed:
vendor/android-tzdata-0.1.1/Cargo.toml
vendor/anstream-0.6.18/Cargo.toml
vendor/anstyle-query-1.1.2/Cargo.toml
vendor/backtrace-0.3.71/Cargo.toml
vendor/backtrace-0.3.73/Cargo.toml
vendor/chrono-0.4.39/Cargo.toml
vendor/colored-2.2.0/Cargo.toml
vendor/console-0.15.10/Cargo.toml
vendor/ctrlc-3.4.5/Cargo.toml
vendor/curl-0.4.47/Cargo.toml
vendor/curl-sys-0.4.78+curl-8.11.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.7/Cargo.toml
vendor/env_logger-0.11.6/Cargo.toml
vendor/errno-0.3.10/Cargo.toml
vendor/fd-lock-4.0.2/Cargo.toml
vendor/filetime-0.2.25/Cargo.toml
vendor/gix-discover-0.37.0/Cargo.toml
vendor/gix-path-0.10.13/Cargo.toml
vendor/gix-sec-0.10.10/Cargo.toml
vendor/home-0.5.11/Cargo.toml
vendor/iana-time-zone-0.1.61/Cargo.toml
vendor/ignore-0.4.23/Cargo.toml
vendor/is-terminal-0.4.12/Cargo.toml
vendor/is_executable-1.0.3/Cargo.toml
vendor/jiff-0.1.13/Cargo.toml
vendor/libloading-0.8.6/Cargo.toml
vendor/libssh2-sys-0.3.0/Cargo.toml
vendor/mio-0.8.11/Cargo.toml
vendor/notify-6.1.1/Cargo.toml
vendor/nu-ansi-term-0.46.0/Cargo.toml
vendor/nu-ansi-term-0.50.1/Cargo.toml
vendor/onig-6.4.0/Cargo.toml
vendor/opener-0.5.2/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/portable-atomic-1.10.0/Cargo.toml
vendor/process-wrap-8.0.2/Cargo.toml
vendor/rustix-0.38.42/Cargo.toml
vendor/same-file-1.0.6/Cargo.toml
vendor/snapbox-0.6.20/Cargo.toml
vendor/socket2-0.5.8/Cargo.toml
vendor/stacker-0.1.17/Cargo.toml
vendor/sysinfo-0.31.4/Cargo.toml
vendor/sysinfo-0.33.0/Cargo.toml
vendor/tempfile-3.14.0/Cargo.toml
vendor/term-0.7.0/Cargo.toml
vendor/termcolor-1.4.1/Cargo.toml
vendor/terminal_size-0.4.1/Cargo.toml
vendor/termize-0.1.1/Cargo.toml
vendor/tokio-1.42.0/Cargo.toml
vendor/uuid-1.11.0/Cargo.toml
vendor/walkdir-2.5.0/Cargo.toml
vendor/wasm-component-ld-0.5.11/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 a0b88d74cee0fc0102f8b674528fe1e8bd157305..2a501f219086deaf5a410e906c99234fbcb37001 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.5"
-optional = true
 
 [lints.clippy]
 bool_assert_comparison = "allow"
index 8073b87a4e9dc2af36d07094bdbcbb42c343ccee..1431cec5a5f6f2912db615bd79c23ca1f72f08e3 100644 (file)
@@ -92,13 +92,6 @@ path = "src/lib.rs"
 name = "query"
 path = "examples/query.rs"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59.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 6ccd2ac81fa9ba45f0a5fc83433eb184ac3bce51..70e45ba42b4a4b77fb2a633dae9b4d1d8011b25e 100644 (file)
@@ -107,7 +107,6 @@ version = "1"
 __internal_bench = []
 alloc = []
 clock = [
-    "winapi",
     "iana-time-zone",
     "android-tzdata",
     "now",
@@ -144,7 +143,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"
@@ -165,10 +163,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.58"
index 500eb9798f489ec381d2971e445b83810fd8592d..2e9ce71afa1d56aa1b5587c6dfaa59f90a039189 100644 (file)
@@ -80,10 +80,3 @@ version = "1"
 
 [features]
 no-color = []
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.48,<=0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-]
index 0c96b8c0095074d15cf1d46f84d9bf7e05a184c3..93a632fa473d5c6811e275616ec507572ecf2a40 100644 (file)
@@ -92,15 +92,3 @@ default = [
     "ansi-parsing",
 ]
 windows-console-colors = ["ansi-parsing"]
-
-[target."cfg(windows)".dependencies.encode_unicode]
-version = "1"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59"
-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 580f431f72ecd9e9432bdda3db0017b1ca377d71..7ac8e91a8ba8c8902a8b2b1ae7ec18699b61fd5a 100644 (file)
@@ -144,14 +144,3 @@ optional = true
 [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-sys]
 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",
-]
index f78fab8e94896a28f8854a5e0333c03229b8fb69..261659ea3e8959bc04fec8c74745f94088e25edd 100644 (file)
@@ -84,7 +84,3 @@ 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"]
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 8b4957ee426046ae3cbac450fe50e74f72985b15..a1aa2a1477bf938544a65c4515c48c7b36f6b5a9 100644 (file)
@@ -77,12 +77,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, <=0.59.*"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Memory",
-    "Win32_System_Threading",
-    "Win32_System_SystemInformation",
-]
index e370a042fc31e817224e028a4159b75ba48435c7..dce8b19262cdac459a3c90cff456afdd9d2b3f1c 100644 (file)
@@ -160,7 +160,7 @@ harness = false
 
 [dependencies.anstream]
 version = "0.6.11"
-features = ["wincon"]
+features = []
 optional = true
 default-features = false
 
index ad290a087864d3614c1068c52be0ae82ae86276f..96d0da5537d47b65371e04109242e243827bba82 100644 (file)
@@ -50,10 +50,3 @@ default-features = false
 [target."cfg(unix)".dependencies.libc]
 version = "0.2"
 default-features = false
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52, <=0.59"
-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 d621d2c96be3670c60ab2cefea3fecb07ad004a0..2ea780578fa01bb02fb9fcface679a4fe49c2480 100644 (file)
@@ -47,10 +47,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 0fc281dc1ff4cd370266bcc9880db882c722e194..378120c058cd4adb6416fcb867064cc6a892a171 100644 (file)
@@ -70,12 +70,6 @@ default-features = false
 [target."cfg(any(unix, windows))".dev-dependencies.tempfile]
 version = "3.2.0"
 
-[target.'cfg(target_os = "macos")'.dev-dependencies.defer]
-version = "0.2.1"
-
-[target."cfg(windows)".dependencies.dunce]
-version = "1.0.3"
-
 [lints.clippy]
 bool_to_int_with_if = "allow"
 borrow_as_ptr = "allow"
index e849a4b64094e81a48776d7d7b638a5a517e8c64..19eb2666774d291f0efc8e9e0514ff37c09b47d2 100644 (file)
@@ -55,16 +55,6 @@ default-features = false
 [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"
-
 [lints.clippy]
 bool_to_int_with_if = "allow"
 borrow_as_ptr = "allow"
index 04a73e04cfd376e95f38c9d47477b8c6c35fe8b1..f299b05c105f15bd170eadc32d2b443943403fd0 100644 (file)
@@ -69,16 +69,6 @@ version = "0.2.123"
 [target."cfg(windows)".dependencies.gix-path]
 version = "^0.10.13"
 
-[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",
-]
-
 [lints.clippy]
 bool_to_int_with_if = "allow"
 borrow_as_ptr = "allow"
index dec1b260458ade96532ab3e28a356269bc74001c..6c857fc125ed36f43e9e2a0d8e680e3974446dca 100644 (file)
@@ -39,14 +39,6 @@ repository = "https://github.com/rust-lang/cargo"
 name = "home"
 path = "src/lib.rs"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_UI_Shell",
-    "Win32_System_Com",
-]
-
 [lints.clippy]
 dbg_macro = "warn"
 disallowed_methods = "warn"
index 018173294ac8a96109b5700cdb12a3b0976e25a0..5aa5d045f95af18d79be24eaf2bf61300188035c 100644 (file)
@@ -69,6 +69,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 15384fe35b2d667a2d334902bc762f0c7ff549e8..74b35810b7670c73c2a7eb5d2b7a27e3cc93a8f4 100644 (file)
@@ -90,6 +90,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 41f2f56e51ac7e3aca0fbf806e3b1193a4dc4504..32747ea6b78a34feb81cd71f9104b558a463e3c4 100644 (file)
@@ -43,9 +43,5 @@ path = "tests/tests.rs"
 [dev-dependencies.diff]
 version = "0.1.10"
 
-[target.'cfg(target_os = "windows")'.dependencies.winapi]
-version = "0.3"
-features = ["winbase"]
-
 [badges.travis-ci]
 repository = "fitzgen/is_executable"
index 43b6e6639a005983aeb2673422bfa79b74d4c953..5371d53f6eef0a1e0ce28f1b739727fcbf8e3cf7 100644 (file)
@@ -133,7 +133,6 @@ serde = ["dep:serde"]
 std = ["alloc"]
 tz-system = [
     "std",
-    "dep:windows-sys",
 ]
 tzdb-bundle-always = [
     "dep:jiff-tzdb",
@@ -159,12 +158,3 @@ optional = true
 
 [target.'cfg(not(target_family = "wasm"))'.dev-dependencies.hifitime]
 version = "3.9.0"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52.0, <=0.59.*"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Time",
-]
-optional = true
-default-features = false
index 338072a1520b60695472f2537ea0dbea5a465b22..712a40b386f56d3648eae180ce693f96d22324d5 100644 (file)
@@ -44,13 +44,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,<0.59"
-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 5d112d9e2644f37eb3a9c0ae6ab12e3bfc0d4f9b..1d30aa8d05cdfbcf4447821b92c4306b7796d7dd 100644 (file)
@@ -103,8 +103,6 @@ default = ["log"]
 net = []
 os-ext = [
     "os-poll",
-    "windows-sys/Win32_System_Pipes",
-    "windows-sys/Win32_Security",
 ]
 os-poll = []
 
@@ -116,13 +114,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 34600c917e17d3110ee3bd688a635b063aa068e7..2a4612eded50259c799f8ec0e543b93b62d2a79f 100644 (file)
@@ -107,14 +107,3 @@ optional = true
 version = "0.8"
 features = ["os-ext"]
 optional = true
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48.0"
-features = [
-    "Win32_System_Threading",
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_Security",
-    "Win32_System_WindowsProgramming",
-    "Win32_System_IO",
-]
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 43e49e20f860008e504a36aed63cf4a03d469fd6..54b9a8bb3aa9c2f758f1afe0ed34c079097a0d75 100644 (file)
@@ -44,6 +44,3 @@ generate = ["onig_sys/generate"]
 posix-api = ["onig_sys/posix-api"]
 print-debug = ["onig_sys/print-debug"]
 std-pattern = []
-
-[target."cfg(windows)".dependencies.libc]
-version = "0.2"
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 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 7b520b77468d6f5f3783bda08cb36037bf883667..c85bff25d7be690e22ed1c805eb9d4bdc160e2fa 100644 (file)
@@ -98,13 +98,6 @@ unsafe-assume-single-core = []
 [target."cfg(unix)".dev-dependencies.libc]
 version = "=0.2.163"
 
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Threading",
-]
-
 [lints.clippy]
 all = "warn"
 as_ptr_cast_mut = "warn"
index d04598fc4fb78d126958e0f9bfd6026faa681362..1f60c7ea81bc2ad9b9654d322b39bb5c730e132a 100644 (file)
@@ -73,8 +73,6 @@ features = [
 
 [features]
 creation-flags = [
-    "dep:windows",
-    "windows/Win32_System_Threading",
 ]
 default = [
     "creation-flags",
@@ -85,12 +83,6 @@ default = [
     "tracing",
 ]
 job-object = [
-    "dep:windows",
-    "windows/Win32_Security",
-    "windows/Win32_System_Diagnostics_ToolHelp",
-    "windows/Win32_System_IO",
-    "windows/Win32_System_JobObjects",
-    "windows/Win32_System_Threading",
 ]
 kill-on-drop = []
 process-group = []
@@ -114,6 +106,3 @@ features = [
 optional = true
 default-features = false
 
-[target."cfg(windows)".dependencies.windows]
-version = "0.56.0"
-optional = true
index 580f185dfe686dc72f8e42afb49fc7006e69ccc7..46f2dbc5ef92e28f5d77e531aedc0de1c7b52573 100644 (file)
@@ -267,15 +267,6 @@ version = "0.3.10"
 default-features = false
 package = "errno"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52, <=0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-    "Win32_NetworkManagement_IpHelper",
-    "Win32_System_Threading",
-]
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 priority = 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 4c547413c2f56394ef2217240e673f48d88522b7..8ea990ce20a53ccc7b2ab58aba7a86c138955a7a 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 68d8eb772889bbb20f133f4262e8b1bf12260b50..ae363b04934ca2f85adee4ddd9143e533bdb709a 100644 (file)
@@ -85,13 +85,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 2ce65c28c51aae2e17ab2890cdef3a9af9284ecd..f6d74c039e310f7079471a581fe1b8c1c035000c 100644 (file)
@@ -44,11 +44,3 @@ version = "0.1.7"
 
 [build-dependencies.cc]
 version = "1.0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52.0, <0.60.0"
-features = [
-    "Win32_System_Memory",
-    "Win32_System_Threading",
-    "Win32_Foundation",
-]
index 97f5a7fd8d952fdac4c0818de8ef21a60eed5700..f09c18d0a1faeda98432b205d462b342cc7fc85f 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 6eebfa5dd607fc71167106459737e71301a99e39..d9919f2b721789cfaac2da10aa6cd8c43e9c633e 100644 (file)
@@ -125,12 +125,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 = [
@@ -142,51 +136,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_SystemServices",
-    "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]
@@ -197,11 +157,3 @@ version = "0.8.7"
 
 [target.'cfg(not(any(target_os = "unknown", target_arch = "wasm32")))'.dependencies.libc]
 version = "^0.2.164"
-
-[target."cfg(windows)".dependencies.ntapi]
-version = "0.4"
-optional = true
-
-[target."cfg(windows)".dependencies.windows]
-version = ">=0.54, <=0.57"
-optional = true
index 302880cf260918a99c802c81c6d1edadd491bea7..49c0634d222187753ef7c3d686654fe92fde5331 100644 (file)
@@ -81,10 +81,3 @@ nightly = []
 [target.'cfg(any(unix, target_os = "wasi"))'.dependencies.rustix]
 version = "0.38.39"
 features = ["fs"]
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52,<=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 627f55ff207edebdec1acaf830bf9ca14abcd2cb..66e689c7cd38828354cc10a8ff779583b5fad5f5 100644 (file)
@@ -46,9 +46,3 @@ path = "examples/get_size.rs"
 version = "0.38.0"
 features = ["termios"]
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59.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 41a0faa5d4a9c4a9b8e99c387d685f2ab3950918..7f97e6c5a9df8638aeeb7bda3951d3628c386f2c 100644 (file)
@@ -703,11 +703,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",
@@ -716,9 +711,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"]
@@ -728,8 +720,6 @@ signal = [
     "mio/net",
     "mio/os-ext",
     "signal-hook-registry",
-    "windows-sys/Win32_Foundation",
-    "windows-sys/Win32_System_Console",
 ]
 sync = []
 test-util = [
@@ -798,14 +788,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 4355c0b552318d19e2db1f50e71e96b4cf4fca1e..8d7065ad5d6766ffe3fe921ed2ac15e7120f60d4 100644 (file)
@@ -203,7 +203,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 d03963f41ceeb605888e71fa5cbe77a0536bb31a..3bc58f8eec2914cbb35cf0591a68985b5b3ee8db 100644 (file)
@@ -86,10 +86,3 @@ version = "0.219.0"
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59"
-features = ["Win32_Foundation"]
-
-[target."cfg(windows)".dependencies.winsplit]
-version = "0.1"
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"