Files
rust/library/windows-sys/Cargo.toml
T
bjorn3 b7f337e4b2 Replace windows-sys with a dummy crate in the library workspace
This reduces the vendor size of the standard library from 37MB to 20MB.
2026-04-23 18:01:21 +02:00

17 lines
540 B
TOML

# dlmalloc has a dependency on windows-sys for when it gets compiled for Windows.
# std however never actually uses dlmalloc on Windows. As dlmalloc is the only
# user of windows-sys in the standard library, the windows-sys crate unnecessarily
# increases the size of the vendored crates. By replacing it with an empty crate
# we save about 19MB.
[package]
name = "windows-sys"
version = "0.61.100"
edition = "2024"
[features]
Win32_Foundation = []
Win32_System_Memory = []
Win32_System_Threading = []
Win32_System_SystemInformation = []