diff --git a/android_native_surface/Cargo.toml b/android_native_surface/Cargo.toml index 08405de..d00b6cf 100644 --- a/android_native_surface/Cargo.toml +++ b/android_native_surface/Cargo.toml @@ -9,16 +9,12 @@ crate-type = ["cdylib"] [dependencies] android_logger = "0.13" -glutin = "0.30" +glutin = { version = "0.31", default-features = false, features = ["egl"] } jni = "0.21" log = "0.4" -ndk = { version = "0.7", features = ["api-level-28"] } +ndk = { version = "0.8", default-features = false, features = ["api-level-28", "rwh_05"] } raw-window-handle = "0.5" rustix = { version = "0.38", default-features = false, features = ["std", "pipe", "stdio"] } [build-dependencies] gl_generator = "0.14" - -[patch.crates-io] -# Latest main branch including surface_texture bindings -ndk = { git = "https://github.com/rust-mobile/ndk", rev = "9f72ec3" }