Android: Bump ndk/ndk-glue to 0.3 and use constants for event ident (#1847)

Following the changes in [1] this bumps ndk and ndk-glue to 0.3 and uses
the new constants. The minor version has been bumped to prevent
applications from running an older winit (without #1826) with a newer
ndk/ndk-glue that does not pass this `ident` through the `data` pointer
anymore.

[1]: https://github.com/rust-windowing/android-ndk-rs/pull/112
This commit is contained in:
Marijn Suijten 2021-01-30 19:43:26 +01:00 committed by GitHub
parent f79c01b0cf
commit bd99eb1347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -37,9 +37,9 @@ image = "0.23.12"
simple_logger = "1.9"
[target.'cfg(target_os = "android")'.dependencies]
ndk = "0.2.0"
ndk = "0.3"
ndk-sys = "0.2.0"
ndk-glue = "0.2.0"
ndk-glue = "0.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
objc = "0.2.7"