Re-exporting rwh feature flags

This commit is contained in:
Jonathan Johnson 2024-01-18 06:31:12 -08:00
parent 0fa6a4b3a5
commit 657493a81d
No known key found for this signature in database
GPG key ID: A66D6A34D6620579
2 changed files with 11 additions and 1 deletions

View file

@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Breaking Changes
- This crate no longer specifies a specific raw-window-handle flag for winit.
This crate will maintain feature flags that allow picking whatever versions
winit is exposing. As of writing this note, the choices are `rwh_05` and
`rwh_06`. `rwh_05` was the feature that was activated in v0.2.0.
### Changed
- All `&Appplication` bounds now are `?Sized`, enabling `&dyn Application`

View file

@ -15,6 +15,9 @@ wayland-csd-adwaita = ["winit/wayland-csd-adwaita"]
x11 = ["winit/x11"]
wayland = ["winit/wayland"]
wayland-dlopen = ["winit/wayland-dlopen"]
rwh_06 = ["winit/rwh_06"]
rwh_05 = ["winit/rwh_05"]
[dependencies]
winit = { version = "0.29.3", default-features = false, features = ["rwh_05"] }
winit = { version = "0.29.3", default-features = false }