Skip to content

Commit a7a0907

Browse files
committed
Bump windows-core to 0.53-0.54 range
This includes the necessary binding changes for compatibility, provided by `windows-bindgen 0.53-0.54`. Generated code by `windows-bindgen` now also expects `TryInto` to be in scope via Rust's `prelude`, which is only the case in Rust edition `2021`.
1 parent bf83753 commit a7a0907

File tree

3 files changed

+439
-598
lines changed

3 files changed

+439
-598
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
1212
keywords = ["IANA", "time"]
1313
categories = ["date-and-time", "internationalization", "os"]
1414
readme = "README.md"
15-
edition = "2018"
15+
edition = "2021"
1616

1717
[features]
1818
# When enabled, the library will succeed to compile for unknown target platforms, and return an `Err(GetTimezoneError::OsError)` at runtime.
@@ -25,7 +25,7 @@ android_system_properties = "0.1.5"
2525
core-foundation-sys = "0.8.3"
2626

2727
[target.'cfg(target_os = "windows")'.dependencies]
28-
windows-core = { version = ">=0.50, <=0.52" }
28+
windows-core = { version = ">=0.53, <=0.54" }
2929

3030
[target.'cfg(target_arch = "wasm32")'.dependencies]
3131
js-sys = "0.3.50"

api_gen/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "api_gen"
33
version = "0.0.0"
4-
edition = "2018"
4+
edition = "2021"
55
publish = false
66

77
[dependencies]
8-
windows-bindgen = "0.51"
8+
windows-bindgen = "0.54"
99

1010
# Dissociate this crate from the root workspace to allow older Rust to build the main crate within
1111
# the workspace, without observing `edition = "2021"` inside `windows-bindgen`.

0 commit comments

Comments
 (0)