From 657493a81dfe6135f6044fd8e4254149782aa8e1 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Thu, 18 Jan 2024 06:31:12 -0800 Subject: [PATCH] Re-exporting rwh feature flags --- CHANGELOG.md | 7 +++++++ Cargo.toml | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e443ebd..42d8421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/Cargo.toml b/Cargo.toml index 873c93e..be22d5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 }