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, 8 Apr 2026 17:02:02 +0000 (19:02 +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

55 files changed:
vendor/anstream-0.6.21/Cargo.toml
vendor/anstream-0.6.21/Cargo.toml.orig
vendor/anstyle-query-1.1.5/Cargo.toml
vendor/backtrace-0.3.75/Cargo.toml
vendor/chrono-0.4.42/Cargo.toml
vendor/colored-2.2.0/Cargo.toml
vendor/colored-3.0.0/Cargo.toml
vendor/console-0.15.11/Cargo.toml
vendor/ctrlc-3.5.1/Cargo.toml
vendor/curl-0.4.49/Cargo.toml
vendor/curl-sys-0.4.84+curl-8.17.0/Cargo.toml
vendor/dbus-0.9.9/Cargo.toml
vendor/dirs-sys-0.5.0/Cargo.toml
vendor/dirs-sys-next-0.1.2/Cargo.toml
vendor/dlmalloc-0.2.11/Cargo.toml
vendor/env_logger-0.11.8/Cargo.toml
vendor/errno-0.3.14/Cargo.toml
vendor/filetime-0.2.26/Cargo.toml
vendor/gix-discover-0.42.0/Cargo.toml
vendor/gix-path-0.10.22/Cargo.toml
vendor/gix-sec-0.12.2/Cargo.toml
vendor/home-0.5.12/Cargo.toml
vendor/hyper-util-0.1.18/Cargo.toml
vendor/iana-time-zone-0.1.64/Cargo.toml
vendor/ignore-0.4.25/Cargo.toml
vendor/is_executable-1.0.5/Cargo.toml
vendor/jiff-0.2.16/Cargo.toml
vendor/libloading-0.8.9/Cargo.toml
vendor/libssh2-sys-0.3.1/Cargo.toml
vendor/mio-1.1.0/Cargo.toml
vendor/notify-8.2.0/Cargo.toml
vendor/nu-ansi-term-0.50.3/Cargo.toml
vendor/onig-6.5.1/Cargo.toml
vendor/opener-0.7.2/Cargo.toml
vendor/opener-0.8.3/Cargo.toml
vendor/os_info-3.13.0/Cargo.toml
vendor/parking_lot_core-0.9.12/Cargo.toml
vendor/portable-atomic-1.11.1/Cargo.toml
vendor/process-wrap-8.2.1/Cargo.toml
vendor/rusqlite-0.37.0/Cargo.toml
vendor/rustix-1.1.2/Cargo.toml
vendor/same-file-1.0.6/Cargo.toml
vendor/snapbox-0.6.23/Cargo.toml
vendor/socket2-0.6.1/Cargo.toml
vendor/stacker-0.1.21/Cargo.toml
vendor/sysinfo-0.37.2/Cargo.toml
vendor/tempfile-3.23.0/Cargo.toml
vendor/term-0.7.0/Cargo.toml
vendor/termcolor-1.4.1/Cargo.toml
vendor/terminal_size-0.4.3/Cargo.toml
vendor/termize-0.2.1/Cargo.toml
vendor/tokio-1.48.0/Cargo.toml
vendor/walkdir-2.5.0/Cargo.toml
vendor/wasm-component-ld-0.5.19/Cargo.toml
vendor/yansi-term-0.1.2/Cargo.toml

index 7c4249d4ef4fdd14c74370bd8634862cb1528e2a..82d233f74f36922f22ad9c702b937b4b893ab696 100644 (file)
@@ -89,10 +89,8 @@ exactly = 1
 auto = ["dep:anstyle-query"]
 default = [
     "auto",
-    "wincon",
 ]
 test = []
-wincon = ["dep:anstyle-wincon"]
 
 [lib]
 name = "anstream"
@@ -142,10 +140,6 @@ version = "1.7.0"
 [dev-dependencies.strip-ansi-escapes]
 version = "0.2.1"
 
-[target."cfg(windows)".dependencies.anstyle-wincon]
-version = "3.0.5"
-optional = true
-
 [lints.clippy]
 bool_assert_comparison = "allow"
 branches_sharing_code = "allow"
index 942ac10f08ff935e5b6ed07fb31ef9f9bd15cb34..80b097cf728c5469beb18dd5e6ff812ff1eaa8d9 100644 (file)
@@ -24,9 +24,8 @@ pre-release-replacements = [
 ]
 
 [features]
-default = ["auto", "wincon"]
+default = ["auto"]
 auto = ["dep:anstyle-query"]
-wincon = ["dep:anstyle-wincon"]
 # Enable in `dev-dependencies` to make sure output is captured for tests
 test = []
 
index 1268520e556eb29c222c52fbc2142ccdc0b43c5e..012d9be046dc72fbffce1a4d371cbeeab04a3f6f 100644 (file)
@@ -93,13 +93,6 @@ path = "src/lib.rs"
 name = "query"
 path = "examples/query.rs"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.60.2, <0.62"
-features = [
-    "Win32_System_Console",
-    "Win32_Foundation",
-]
-
 [lints.clippy]
 bool_assert_comparison = "allow"
 branches_sharing_code = "allow"
index 541be6050a07f55f820b191f43a1900d19171cc3..f6edc478469d0683c244f3ba2ee367a6708327fe 100644 (file)
@@ -120,9 +120,6 @@ optional = true
 [dev-dependencies.libloading]
 version = "0.8"
 
-[target.'cfg(any(windows, target_os = "cygwin"))'.dependencies.windows-targets]
-version = "0.52.6"
-
 [target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies.addr2line]
 version = "0.24.0"
 default-features = false
index cc69ee3ce4cf871d06cf99af267997af2ee6cbd0..9ecc19d1da2181abf832498bc73f6ef219cfe6f9 100644 (file)
@@ -58,7 +58,6 @@ features = ["serde"]
 __internal_bench = []
 alloc = []
 clock = [
-    "winapi",
     "iana-time-zone",
     "now",
 ]
@@ -95,7 +94,6 @@ wasmbind = [
     "wasm-bindgen",
     "js-sys",
 ]
-winapi = ["windows-link"]
 
 [lib]
 name = "chrono"
@@ -164,10 +162,3 @@ version = "0.3"
 version = "0.1.45"
 features = ["fallback"]
 optional = true
-
-[target."cfg(windows)".dependencies.windows-link]
-version = "0.2"
-optional = true
-
-[target."cfg(windows)".dev-dependencies.windows-bindgen]
-version = "0.63"
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 4f7b53a067de7059b7ce8e5f334b4286d7883a01..f64fdcb003757e39905152f97728263891b451f5 100644 (file)
@@ -77,10 +77,3 @@ version = "1"
 
 [features]
 no-color = []
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.48,<=0.59"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-]
index 785d4694575041c37ffa60aa965f590cb161c40e..31faf42d16a99dcf486559c6a8afe91117d54a3d 100644 (file)
@@ -92,15 +92,3 @@ default-features = false
 
 [dev-dependencies.regex]
 version = "1.4.2"
-
-[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 dd4213161631d4a180caded17d0c6eb162c0f9dd..4bb0f09be98c2872319814314fcfa5f4efeb10b7 100644 (file)
@@ -76,21 +76,3 @@ version = "0.3"
 version = "0.30"
 features = ["signal"]
 default-features = false
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Threading",
-    "Win32_Security",
-    "Win32_System_Console",
-]
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.61"
-features = [
-    "Win32_Storage_FileSystem",
-    "Win32_Foundation",
-    "Win32_System_IO",
-    "Win32_System_Console",
-]
index e491ab93b572e205ff4015a863bf25bb51c27d64..124295b474a181d34d4d0fa5ffa9d1734f33f82c 100644 (file)
@@ -49,10 +49,6 @@ ssl = [
 static-curl = ["curl-sys/static-curl"]
 static-ssl = ["curl-sys/static-ssl"]
 upkeep_7_62_0 = ["curl-sys/upkeep_7_62_0"]
-windows-static-ssl = [
-    "static-curl",
-    "curl-sys/windows-static-ssl",
-]
 zlib-ng-compat = [
     "curl-sys/zlib-ng-compat",
     "static-curl",
@@ -145,14 +141,3 @@ optional = true
 [target."cfg(all(unix))".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.59"
-features = [
-    "Win32_Foundation",
-    "Win32_System_LibraryLoader",
-    "Win32_Security_Cryptography",
-]
index 3ed5f5190975d7963372be121a7fbb3d50b4b18e..1fb09d25ef9c150b6e93405dcdc1357b40b5617f 100644 (file)
@@ -83,9 +83,3 @@ version = "0.3.3"
 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.59"
-features = ["Win32_Networking_WinSock"]
index 396557d4864facf7de0418d9b03533fc084df80d..c8a2c0ccfd434f87fd1cc724350be0ccc42440d7 100644 (file)
@@ -103,7 +103,3 @@ version = "0.2.6"
 
 [dev-dependencies.tempfile]
 version = "3"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.59.0"
-features = ["Win32_Networking_WinSock"]
index 7b64137e941e4c8e2ad72fded321d6cb6f008ef6..ffea536596417957c3a0f3566e5b139ee4b40c57 100644 (file)
@@ -37,12 +37,3 @@ default-features = false
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">= 0.59.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 b9babb4138da381cebce252219569ff023444f2d..849de6fa2acb455f6b72aad19ef7f050624b2367 100644 (file)
@@ -73,14 +73,5 @@ features = ["small_rng"]
 version = "0.2"
 default-features = false
 
-[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
-version = ">=0.52.0, <=0.60.*"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Memory",
-    "Win32_System_Threading",
-    "Win32_System_SystemInformation",
-]
-
 [profile.release]
 debug-assertions = true
index 48f6224338f1b9ecb3a9cc6fe6f2cb2faaf95832..b4780928239b15fcd037ffa7c2979d69d1d11a36 100644 (file)
@@ -161,7 +161,7 @@ harness = false
 
 [dependencies.anstream]
 version = "0.6.11"
-features = ["wincon"]
+features = []
 optional = true
 default-features = false
 
index ff3dfa984d78bdb81fa5685fc60b73f2aca8abd8..81a2125754c99301c3cde27e4fd2c2a5ea9da534 100644 (file)
@@ -54,13 +54,6 @@ default-features = false
 version = "0.2"
 default-features = false
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52, <0.62"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Diagnostics_Debug",
-]
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 priority = 0
index d6ebc2439e932778667819f227795e1f276aa199..3731c5084caeab54fe24e3edabc753a6e7894170 100644 (file)
@@ -48,10 +48,3 @@ version = "0.1.0"
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.27"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.60.0"
-features = [
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-]
index 3e0faa9c423a5735625f323102e6b8f9a0a45a2c..a30f52506008f0ff9c70758b3d96c67720831bff 100644 (file)
@@ -74,9 +74,6 @@ version = "3.23.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 7f6ce20963c0fb3bf3dd1699fd916d8ccd03b730..87fb33fa1c57accff4bbf66def5b0589ceedfb35 100644 (file)
@@ -53,16 +53,6 @@ version = "2.0.17"
 version = "3.1.0"
 default-features = false
 
-[target."cfg(windows)".dev-dependencies.windows]
-version = "0.62.1"
-features = [
-    "Win32_System_Com",
-    "Win32_System_Threading",
-    "Win32_UI_Shell",
-]
-
-[target."cfg(windows)".dev-dependencies.winreg]
-version = "0.55.0"
 
 [lints.clippy]
 bool_to_int_with_if = "allow"
index 119bc1b81c32355516d530c0d2f1e732fc736a1d..074c2a7b89452cdbd4fb26a668d5e3166a5f4be9 100644 (file)
@@ -67,19 +67,6 @@ version = "3.23.0"
 [target."cfg(not(windows))".dependencies.libc]
 version = "0.2.176"
 
-[target."cfg(windows)".dependencies.gix-path]
-version = "^0.10.21"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61.1"
-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 3361c277c72930cbbcf20dc21ac8ddd5fb13af00..7f15d062be52355930453d40b9b0123edaa11d90 100644 (file)
@@ -40,14 +40,6 @@ resolver = "2"
 name = "home"
 path = "src/lib.rs"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61"
-features = [
-    "Win32_Foundation",
-    "Win32_UI_Shell",
-    "Win32_System_Com",
-]
-
 [lints.clippy]
 dbg_macro = "warn"
 disallowed_methods = "warn"
index 8babba4f186a766f26c40081530d956b3945dc9b..878a3e506a2fabb23b71305e1f1d5c2b17424e5b 100644 (file)
@@ -68,8 +68,6 @@ client-proxy = [
     "dep:percent-encoding",
 ]
 client-proxy-system = [
-    "dep:system-configuration",
-    "dep:windows-registry",
 ]
 default = []
 full = [
@@ -239,11 +237,3 @@ version = "0.4"
 
 [target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies.pnet_datalink]
 version = "0.35.0"
-
-[target.'cfg(target_os = "macos")'.dependencies.system-configuration]
-version = ">=0.5, <0.7"
-optional = true
-
-[target."cfg(windows)".dependencies.windows-registry]
-version = ">=0.3, <0.7"
-optional = true
index 2020d626a3bdb87cbee5f58bd133adc179c1100d..3df4bcde9cb4098c2b89026347fefda5c5ae1ab6 100644 (file)
@@ -79,15 +79,3 @@ features = ["js"]
 
 [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
 version = "0.3.46"
-
-[target.'cfg(target_os = "android")'.dependencies.android_system_properties]
-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.56, <=0.62"
-
-[target.'cfg(target_vendor = "apple")'.dependencies.core-foundation-sys]
-version = "0.8.6"
index aaa209a762b9309b0e6df82d6522523d07c86d50..d1177791a561778f9a2fa5f619242b7c63d8e98f 100644 (file)
@@ -95,6 +95,3 @@ default-features = false
 
 [dev-dependencies.crossbeam-channel]
 version = "0.5.15"
-
-[target."cfg(windows)".dependencies.winapi-util]
-version = "0.1.2"
index 098c6a8c783c00e2b9c7760799678d3e77cb443a..dd2509a4146c0b46d98406dcb06bb21fda2a3bc7 100644 (file)
@@ -44,6 +44,3 @@ path = "tests/tests.rs"
 [dev-dependencies.diff]
 version = "0.1.10"
 
-[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
-version = "0.60"
-features = ["Win32_Storage_FileSystem"]
index 2a225bad986eee23591bdb5134b20b1a09a6bdb4..24aaf8c8397865857d895775dc2fcef120cbfa3f 100644 (file)
@@ -90,7 +90,6 @@ std = [
 tz-fat = ["jiff-static?/tz-fat"]
 tz-system = [
     "std",
-    "dep:windows-sys",
 ]
 tzdb-concatenated = ["std"]
 tzdb-zoneinfo = ["std"]
@@ -193,15 +192,6 @@ default-features = false
 version = "0.2.4"
 default-features = false
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52.0, <=0.61.*"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Time",
-]
-optional = true
-default-features = false
-
 [lints.rust.unexpected_cfgs]
 level = "allow"
 priority = 0
index 2c8eb67f592a945e147e629485660ccd133e1b4a..ff74d063c19e65726a32dd33c90b409b5483af0d 100644 (file)
@@ -74,13 +74,6 @@ version = "1.1"
 [target."cfg(unix)".dependencies.cfg-if]
 version = "1"
 
-[target."cfg(windows)".dependencies.windows-link]
-version = "0.2"
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.61"
-features = ["Win32_Foundation"]
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 priority = 0
index 55ee0051cefda8ea5e1db3e7c168ca5fd9f4b0c5..0d06451874d17be024cc67d51ffc3778c3ae7727 100644 (file)
@@ -49,16 +49,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 1ff8995f453dbdd80db5907f72d791ce816c82e0..7bdff88881ed7a1467ddb3e96fc94078f62361b1 100644 (file)
@@ -80,8 +80,6 @@ default = ["log"]
 net = []
 os-ext = [
     "os-poll",
-    "windows-sys/Win32_System_Pipes",
-    "windows-sys/Win32_Security",
 ]
 os-poll = []
 
@@ -136,20 +134,6 @@ version = "0.11.0"
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.159"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61"
-features = [
-    "Wdk_Foundation",
-    "Wdk_Storage_FileSystem",
-    "Wdk_System_IO",
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-    "Win32_Storage_FileSystem",
-    "Win32_Security",
-    "Win32_System_IO",
-    "Win32_System_WindowsProgramming",
-]
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 priority = 0
index ba52fc3fa756b8892dbd3b580ba80812a2ef416b..61624a7293b6dab2b88991469e94b36cbeaee960 100644 (file)
@@ -90,9 +90,6 @@ default-features = false
 version = "1.0"
 features = ["os-ext"]
 
-[target."cfg(target_os = \"windows\")".dev-dependencies.trash]
-version = "5.2.2"
-
 [target."cfg(target_os=\"macos\")".dependencies.bitflags]
 version = "2.7.0"
 
@@ -108,14 +105,3 @@ optional = true
 version = "1.0"
 features = ["os-ext"]
 optional = true
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.60.1"
-features = [
-    "Win32_System_Threading",
-    "Win32_Foundation",
-    "Win32_Storage_FileSystem",
-    "Win32_Security",
-    "Win32_System_WindowsProgramming",
-    "Win32_System_IO",
-]
index 27fad0c002a6ddf783082373cb156401b9cf8a9f..3801b07b08a7e898f11ab4c6043d4291d4b76ca0 100644 (file)
@@ -80,13 +80,3 @@ version = "0.3.3"
 
 [dev-dependencies.serde_json]
 version = "1.0.94"
-
-[target."cfg(windows)".dependencies.windows]
-version = ">=0.59, <=0.61"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-    "Win32_Storage_FileSystem",
-    "Win32_Security",
-]
-package = "windows-sys"
index a218b18d03dd3224b8cafc3bb88cc6286b99ae26..52ee57965ec6ed1654abb349eb7fde763a620a13 100644 (file)
@@ -95,6 +95,3 @@ version = "1.12"
 [dependencies.onig_sys]
 version = "69.9.1"
 default-features = false
-
-[target."cfg(windows)".dependencies.libc]
-version = "0.2"
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 9e01879de58b373e49094ac36b677aa7a56954bb..d8491414ee547cb009a4305c494c7b85a4ca2fa0 100644 (file)
@@ -46,8 +46,6 @@ status = "passively-maintained"
 reveal = [
     "dep:url",
     "dep:zbus",
-    "windows-sys/Win32_System_Com",
-    "windows-sys/Win32_UI_Shell_Common",
 ]
 
 [lib]
@@ -65,13 +63,3 @@ optional = true
 version = "5"
 features = ["url"]
 optional = true
-
-[target."cfg(windows)".dependencies.normpath]
-version = "1"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.60"
-features = [
-    "Win32_UI_Shell",
-    "Win32_UI_WindowsAndMessaging",
-]
index d9bb1384687549919c4aa3fc6b6e55f1a623b8ea..68548cc7399352bcbc3397f35c343477a81579a2 100644 (file)
@@ -68,37 +68,3 @@ version = "1"
 [target.'cfg(any(target_os = "aix", target_os = "dragonfly", target_os = "freebsd", target_os = "illumos", target_os = "linux", target_os = "macos", target_os = "netbsd", target_os = "openbsd", target_os = "cygwin"))'.dependencies.nix]
 version = "0.30"
 features = ["feature"]
-
-[target.'cfg(target_os = "android")'.dependencies.android_system_properties]
-version = "0.1"
-
-[target.'cfg(target_os = "ios")'.dependencies.objc2]
-version = "0.6"
-
-[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
-version = "0.3"
-features = ["NSString"]
-
-[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
-version = "0.3"
-
-[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
-version = "0.3"
-features = [
-    "NSData",
-    "NSError",
-    "NSEnumerator",
-    "NSString",
-]
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61"
-features = [
-    "Win32_Foundation",
-    "Win32_System_LibraryLoader",
-    "Win32_System_Registry",
-    "Win32_System_SystemInformation",
-    "Win32_System_SystemServices",
-    "Win32_System_Threading",
-    "Win32_UI_WindowsAndMessaging",
-]
index ecd9178e24fcb92062ce555d853b481465a65c35..475e0e1f7261832d51d383fbab1455a60fd47d48 100644 (file)
@@ -68,5 +68,3 @@ version = "0.5"
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.95"
 
-[target."cfg(windows)".dependencies.windows-link]
-version = "0.2.0"
index b337812db2ec28f30b4a32676abcc11c25b8fa64..c4f08f9628988d353e9fe6c9cb4c1239e1887e46 100644 (file)
@@ -109,13 +109,6 @@ version = "1"
 [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 43c7d658a583f791811a77da95a0f8fefa6b2f48..a2151d10e11a9b3745f33ae291e3727ba4680662 100644 (file)
@@ -44,8 +44,6 @@ all-features = true
 
 [features]
 creation-flags = [
-    "dep:windows",
-    "windows/Win32_System_Threading",
 ]
 default = [
     "creation-flags",
@@ -57,12 +55,6 @@ default = [
 ]
 downcasting = []
 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 = []
@@ -144,7 +136,3 @@ features = [
 ]
 optional = true
 default-features = false
-
-[target."cfg(windows)".dependencies.windows]
-version = "0.61.1"
-optional = true
index eef4d05597595f1a23bc435f94e30f35af93dc85..df498183f265d65c5ba03f1a000c0d38b70ff935 100644 (file)
@@ -55,7 +55,6 @@ rustdoc-args = [
 
 [package.metadata.playground]
 all-features = false
-features = ["bundled-full"]
 
 [badges.appveyor]
 repository = "rusqlite/rusqlite"
@@ -74,23 +73,6 @@ array = [
 backup = []
 blob = []
 buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
-bundled = [
-    "libsqlite3-sys/bundled",
-    "modern_sqlite",
-]
-bundled-full = [
-    "modern-full",
-    "bundled",
-]
-bundled-sqlcipher = [
-    "libsqlite3-sys/bundled-sqlcipher",
-    "bundled",
-]
-bundled-sqlcipher-vendored-openssl = [
-    "libsqlite3-sys/bundled-sqlcipher-vendored-openssl",
-    "bundled-sqlcipher",
-]
-bundled-windows = ["libsqlite3-sys/bundled-windows"]
 collation = []
 column_decltype = []
 column_metadata = ["libsqlite3-sys/column_metadata"]
index 1e8347a894afc8b886d221a9e9421876b3d6c1c3..b3cc3634e810abc3e397bf09707201f6f220bd35 100644 (file)
@@ -235,21 +235,6 @@ version = "0.3.10"
 default-features = false
 package = "errno"
 
-[target."cfg(windows)".dependencies.libc_errno]
-version = "0.3.10"
-default-features = false
-package = "errno"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52, <0.62"
-features = [
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-]
-
-[target."cfg(windows)".dev-dependencies.once_cell]
-version = "1.20.3"
-
 [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 4c64f0fc4ac4a33d13bb6603616f12d847873cca..cdbda1207903d0af9da20b207728fee00471f5a6 100644 (file)
@@ -84,7 +84,6 @@ cmd = [
     "dep:os_pipe",
     "dep:wait-timeout",
     "dep:libc",
-    "dep:windows-sys",
 ]
 color = [
     "dep:anstream",
@@ -222,11 +221,6 @@ version = "1.0.15"
 version = "0.2.176"
 optional = true
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.60.2"
-features = ["Win32_Foundation"]
-optional = true
-
 [lints.clippy]
 bool_assert_comparison = "allow"
 branches_sharing_code = "allow"
index a1bacfd5bf1647aeebcd8c131dbbffcef87185d0..db61e613177738fbd15c7614ba332a73e81988d8 100644 (file)
@@ -93,12 +93,3 @@ path = "src/lib.rs"
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.172"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.60"
-features = [
-    "Win32_Foundation",
-    "Win32_Networking_WinSock",
-    "Win32_System_IO",
-    "Win32_System_Threading",
-    "Win32_System_WindowsProgramming",
-]
index 14caa1a82f414084bdb7a47fcef2285464e8b28a..08bfe2d1a70644d673764dd7328b14f83114f33c 100644 (file)
@@ -60,10 +60,3 @@ version = "0.1.7"
 [build-dependencies.cc]
 version = "1.1.22"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52.0, <0.60.0"
-features = [
-    "Win32_System_Memory",
-    "Win32_System_Threading",
-    "Win32_Foundation",
-]
index 2a586de60ddf2ac1583b8afa1aacf355734a2199..56404c77158d139d0f703db425f9d180923261dc 100644 (file)
@@ -48,24 +48,10 @@ cargo-args = ["-Zbuild-std"]
 rustdoc-args = ["--generate-link-to-definition"]
 
 [features]
-apple-app-store = ["apple-sandbox"]
+apple-app-store = []
 apple-sandbox = []
 c-interface = ["default"]
 component = [
-    "windows/Win32_Foundation",
-    "windows/Win32_Security",
-    "windows/Win32_System_Com",
-    "windows/Win32_System_Ole",
-    "windows/Win32_System_Rpc",
-    "windows/Win32_System_Variant",
-    "windows/Win32_System_Wmi",
-    "objc2-core-foundation/CFArray",
-    "objc2-core-foundation/CFBase",
-    "objc2-core-foundation/CFDictionary",
-    "objc2-core-foundation/CFNumber",
-    "objc2-core-foundation/CFString",
-    "objc2-io-kit",
-    "objc2-io-kit/hidsystem",
 ]
 debug = ["libc/extra_traits"]
 default = [
@@ -76,65 +62,17 @@ default = [
     "user",
 ]
 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",
-    "objc2-core-foundation/CFArray",
-    "objc2-core-foundation/CFBase",
-    "objc2-core-foundation/CFDictionary",
-    "objc2-core-foundation/CFError",
-    "objc2-core-foundation/CFNumber",
-    "objc2-core-foundation/CFString",
-    "objc2-core-foundation/CFURL",
-    "objc2-io-kit",
 ]
 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/Win32_System_Diagnostics_ToolHelp",
-    "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",
-    "objc2-core-foundation/CFBase",
-    "objc2-core-foundation/CFData",
-    "objc2-core-foundation/CFDictionary",
-    "objc2-core-foundation/CFString",
-    "objc2-io-kit",
 ]
 unknown-ci = []
 user = [
-    "windows/Win32_Foundation",
-    "windows/Win32_NetworkManagement_NetManagement",
-    "windows/Win32_Security",
-    "windows/Win32_Security_Authentication_Identity",
-    "windows/Win32_Security_Authorization",
 ]
 
 [lib]
@@ -212,28 +150,5 @@ version = "1.0"
 [dev-dependencies.tempfile]
 version = "3.9"
 
-[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-foundation]
-version = "0.3.1"
-features = ["std"]
-optional = true
-default-features = false
-
-[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-io-kit]
-version = "0.3.1"
-features = [
-    "std",
-    "libc",
-]
-optional = true
-default-features = false
-
 [target.'cfg(not(any(target_os = "unknown", target_arch = "wasm32")))'.dependencies.libc]
 version = "^0.2.173"
-
-[target."cfg(windows)".dependencies.ntapi]
-version = "0.4"
-optional = true
-
-[target."cfg(windows)".dependencies.windows]
-version = ">=0.59, <0.62"
-optional = true
index 0a4ceffeccde8cb01d8fefaf66277beb5facaf17..69ee1a5eab49517d033af6f5ef5100d8f23faa9d 100644 (file)
@@ -88,10 +88,3 @@ features = ["fs"]
 version = "0.3.0"
 optional = true
 default-features = false
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = ">=0.52, <0.62"
-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 d6bef4ea68bc333304e04d20a82fd1c5cd884e7a..ce13d3b9f6aa776318bf10d90b5911451eedc97c 100644 (file)
@@ -45,10 +45,3 @@ path = "examples/get_size.rs"
 [target."cfg(unix)".dependencies.rustix]
 version = "1.0.1"
 features = ["termios"]
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.60.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-]
index 275d66155238643eab5df1f8605e47a3cd32da3f..7938768bb1dca21bca1543565e3a2bd652a0864b 100644 (file)
@@ -51,13 +51,6 @@ path = "examples/basic.rs"
 [target."cfg(unix)".dependencies.libc]
 version = "0.2.174"
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61.0"
-features = [
-    "Win32_Foundation",
-    "Win32_System_Console",
-]
-
 [profile.dev]
 opt-level = 0
 lto = false
index 05e6bcb11c29e6e7347e3b585afd8f262dea9df6..a4c8d12c058147bf6db296082770062c8c308d2b 100644 (file)
@@ -99,11 +99,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",
@@ -112,9 +107,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"]
@@ -124,8 +116,6 @@ signal = [
     "mio/net",
     "mio/os-ext",
     "signal-hook-registry",
-    "windows-sys/Win32_Foundation",
-    "windows-sys/Win32_System_Console",
 ]
 sync = []
 taskdump = ["dep:backtrace"]
@@ -897,17 +887,6 @@ features = [
 ]
 default-features = false
 
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61"
-optional = true
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.61"
-features = [
-    "Win32_Foundation",
-    "Win32_Security_Authorization",
-]
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 priority = 0
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 d1842b1dd1ab954eb8d5b219558f9f5eccb500ab..8091810dd06f4ccfa075712fe02ef3296d0b959c 100644 (file)
@@ -86,10 +86,3 @@ version = "0.241.0"
 
 [target."cfg(unix)".dependencies.libc]
 version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.61.2"
-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"