Merge pull request #2760 from rhysd/remove-winapi

Remove unused `winapi` crate from dependencies
This commit is contained in:
Héctor 2025-01-28 18:28:38 +01:00 committed by GitHub
commit ce7eafcd63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 5 deletions

1
Cargo.lock generated
View file

@ -2652,7 +2652,6 @@ dependencies = [
"tracing",
"wasm-bindgen-futures",
"web-sys",
"winapi",
"window_clipboard",
"winit",
]

View file

@ -188,7 +188,6 @@ wasm-timer = "0.2"
web-sys = "0.3.69"
web-time = "1.1"
wgpu = "23.0"
winapi = "0.3"
window_clipboard = "0.4.1"
winit = { git = "https://github.com/iced-rs/winit.git", rev = "11414b6aa45699f038114e61b4ddf5102b2d3b4b" }

View file

@ -39,9 +39,6 @@ winit.workspace = true
sysinfo.workspace = true
sysinfo.optional = true
[target.'cfg(target_os = "windows")'.dependencies]
winapi.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys.workspace = true
web-sys.features = ["Document", "Window", "HtmlCanvasElement"]