Merge pull request #71 from rust-windowing/dependencies

Update dependencies
This commit is contained in:
Jeremy Soller 2023-02-21 09:44:20 -07:00 committed by GitHub
commit 83c0f92dc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View file

@ -36,7 +36,7 @@ x11rb = { version = "0.11.0", features = ["allow-unsafe-code", "dl-libxcb", "shm
fastrand = { version = "1.8.0", optional = true }
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.42.0"
version = "0.45.0"
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
[target.'cfg(target_os = "macos")'.dependencies]
@ -60,7 +60,7 @@ cfg_aliases = "0.1.1"
[dev-dependencies]
instant = "0.1.12"
winit = "0.27.2"
winit = "0.28.1"
[dev-dependencies.image]
version = "0.23.14"

View file

@ -54,12 +54,6 @@ fn main() {
} if window_id == window.id() => {
*control_flow = ControlFlow::Exit;
}
Event::WindowEvent {
event: WindowEvent::Resized(_),
window_id,
} if window_id == window.id() => {
window.request_redraw();
}
_ => {}
}
});