mirror of
https://github.com/rust-mobile/android-activity.git
synced 2026-07-09 16:27:28 +00:00
6a0197c28f
The next breaking `ndk` release puts a lot of emphasis in improving `enum`s to finally be marked `non_exhaustive`, and carry possible future values in `__Unknown(i32)` variants. This removes the lossy conversions that previously required `android-activity` to redefine its types, which could all be removed again. The `repr()` types have also been updated, as `enum` constants in C are translated to `u32` by default in `bindgen` even though they're commonly passed as `int` to every API function that consumes them.
18 lines
376 B
TOML
18 lines
376 B
TOML
[package]
|
|
name = "agdk-mainloop"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
android_logger = "0.11.0"
|
|
android-activity = { path="../../android-activity", features = ["game-activity"] }
|
|
ndk-sys = "0.6.0"
|
|
ndk = "0.9.0"
|
|
|
|
[lib]
|
|
name="main"
|
|
crate_type=["cdylib"]
|