diff --git a/CHANGELOG.md b/CHANGELOG.md index c8c8c8f6..f952a91e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ And please only add new entries to the top of this list, right below the `# Unre # Unreleased -# 0.29.0-beta.1 +# 0.29.1-beta - **Breaking:** Bump `ndk` version to `0.8.0-beta.0`, ndk-sys to `v0.5.0-beta.0`, `android-activity` to `0.5.0-beta.1`. - **Breaking:** Bump MSRV from `1.64` to `1.65`. diff --git a/Cargo.toml b/Cargo.toml index ea80e0a4..43a8862e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.29.0-beta.1" +version = "0.29.1-beta" authors = ["The winit contributors", "Pierre Krieger "] description = "Cross-platform window creation library." edition = "2021" diff --git a/README.md b/README.md index bfa49dca..7879ed78 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ```toml [dependencies] -winit = "0.29.0-beta.1" +winit = "0.29.1-beta" ``` ## [Documentation](https://docs.rs/winit) @@ -114,7 +114,7 @@ clash. | winit | ndk-glue | | :---: | :--------------------------: | -| 0.29.0-beta.1 | `android-activity = "0.5.0-beta.1"` | +| 0.29.1-beta | `android-activity = "0.5.0-beta.1"` | | 0.28 | `android-activity = "0.4"` | | 0.27 | `ndk-glue = "0.7"` | | 0.26 | `ndk-glue = "0.5"` | @@ -151,7 +151,7 @@ class. Your application _must_ specify the base class it needs via a feature fla For example, add this to Cargo.toml: ```toml -winit = { version = "0.29.0-beta.1", features = [ "android-native-activity" ] } +winit = { version = "0.29.1-beta", features = [ "android-native-activity" ] } [target.'cfg(target_os = "android")'.dependencies] android_logger = "0.11.0" @@ -182,7 +182,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.0-beta.1", features = [ "android-native-activity" ] }` +2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.29.1-beta", 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).