Skip to content

Commit

Permalink
ash-window: Require at least raw-window-handle 0.3.4 for 0.4 interop
Browse files Browse the repository at this point in the history
`raw-window-handle 0.3.4` was pushed as a "semver-trick-like" patch
release, implementing the `0.3` trait for the `0.4` crate release [74].
This allows `ash-window` as a window-handle "consumer" crate to accept
both `0.3` and `0.4` handles from consumer crates simultaneously.  To
ensure this patch release is available even when users omit regular
`cargo update` or build with `-Z minimal-versions`, set the minimal
patch version in `Cargo.toml` to it.

[74]: rust-windowing/raw-window-handle#74
  • Loading branch information
MarijnS95 committed Jan 10, 2022
1 parent 570b554 commit 1da18b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ash-window/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ workspace = ".."

[dependencies]
ash = { path = "../ash", version = "0.35", default-features = false }
raw-window-handle = "0.3"
raw-window-handle = "0.3.4"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
raw-window-metal = "0.1"
Expand Down

0 comments on commit 1da18b9

Please sign in to comment.