Skip to content

Commit

Permalink
Bump windows-core to 0.55
Browse files Browse the repository at this point in the history
Note that `windows 0.55` was not released, and any implementation in
the wild depending on `windows` will get `windows-core 0.54` in their
dependency tree for obvious compatibility reasons, and would get a
duplicate if `iana-time-zone` decides to switch to o`windows-core 0.55`
prematurely. This PR depends on #131 and can be updated and merged
whenever there is a compelling reason to bump further.

This requires a strange change to remove a "comment" from `bindings.txt`:

         Running `api_gen/target/debug/api_gen`
    Error: Error { message: "unused filters\n  Dependencies\n  above\n  the\n  of\n  #", path: "", span: None }
  • Loading branch information
MarijnS95 committed Mar 26, 2024
1 parent a7a0907 commit 59246f9
Show file tree
Hide file tree
Showing 4 changed files with 921 additions and 1,030 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android_system_properties = "0.1.5"
core-foundation-sys = "0.8.3"

[target.'cfg(target_os = "windows")'.dependencies]
windows-core = { version = ">=0.53, <=0.54" }
windows-core = { version = "0.55" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.50"
Expand Down
2 changes: 1 addition & 1 deletion api_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies]
windows-bindgen = "0.54"
windows-bindgen = "0.55"

# Dissociate this crate from the root workspace to allow older Rust to build the main crate within
# the workspace, without observing `edition = "2021"` inside `windows-bindgen`.
Expand Down
1 change: 0 additions & 1 deletion bindings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
--filter
Windows.Globalization.Calendar

# Dependencies of the above
Windows.Foundation.Collections.IIterable
Windows.Foundation.Collections.IIterator
Windows.Foundation.Collections.IVectorView
Expand Down
Loading

0 comments on commit 59246f9

Please sign in to comment.