From 572d61f9ba4b936e9ba93b246439f4b1404bbb05 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 24 Dec 2023 22:53:47 +0400 Subject: [PATCH] Winit version 0.29.6 --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- README.md | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d077acd719..ed492f27ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ Unreleased` header. # Unreleased +# 0.29.6 + - On Web, fix context menu not being disabled by `with_prevent_default(true)`. - On Wayland, fix `WindowEvent::Destroyed` not being delivered after destroying window. - Fix `EventLoopExtRunOnDemand::run_on_demand` not working for consequent invocation diff --git a/Cargo.toml b/Cargo.toml index 78785e5fd9..f5dddd56fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.29.5" +version = "0.29.6" authors = ["The winit contributors", "Pierre Krieger "] description = "Cross-platform window creation library." edition = "2021" diff --git a/README.md b/README.md index a8acd9295e..624c69c4a9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ```toml [dependencies] -winit = "0.29.5" +winit = "0.29.6" ``` ## [Documentation](https://docs.rs/winit) @@ -156,7 +156,7 @@ For more details, refer to these `android-activity` [example applications](https If your application is currently based on `NativeActivity` via the `ndk-glue` crate and building with `cargo apk`, then the minimal changes would be: 1. Remove `ndk-glue` from your `Cargo.toml` -2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.29.5", features = [ "android-native-activity" ] }` +2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.29.6", features = [ "android-native-activity" ] }` 3. Add an `android_main` entrypoint (as above), instead of using the '`[ndk_glue::main]` proc macro from `ndk-macros` (optionally add a dependency on `android_logger` and initialize logging as above). 4. Pass a clone of the `AndroidApp` that your application receives to Winit when building your event loop (as shown above).