Update windows-bindgen to 0.53

This commit is contained in:
Paul Dicker 2024-02-26 08:22:42 +01:00 committed by Paul Dicker
parent 81d58e05f7
commit 8fcad1fda9
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ js-sys = { version = "0.3", optional = true } # contains FFI bindings for
windows-targets = { version = "0.52", optional = true } windows-targets = { version = "0.52", optional = true }
[target.'cfg(windows)'.dev-dependencies] [target.'cfg(windows)'.dev-dependencies]
windows-bindgen = { version = "0.52" } windows-bindgen = { version = "0.53" } # The MSRV of its windows-metatada 0.53 dependency is 1.70
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
iana-time-zone = { version = "0.1.45", optional = true, features = ["fallback"] } iana-time-zone = { version = "0.1.45", optional = true, features = ["fallback"] }

View File

@ -1,4 +1,4 @@
// Bindings generated by `windows-bindgen` 0.52.0 // Bindings generated by `windows-bindgen` 0.53.0
#![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)]
::windows_targets::link!("kernel32.dll" "system" fn GetTimeZoneInformationForYear(wyear : u16, pdtzi : *const DYNAMIC_TIME_ZONE_INFORMATION, ptzi : *mut TIME_ZONE_INFORMATION) -> BOOL); ::windows_targets::link!("kernel32.dll" "system" fn GetTimeZoneInformationForYear(wyear : u16, pdtzi : *const DYNAMIC_TIME_ZONE_INFORMATION, ptzi : *mut TIME_ZONE_INFORMATION) -> BOOL);