10 releases (5 breaking)

0.6.0+11769913 Apr 26, 2024
0.5.0+25.2.9519653 Oct 14, 2023
0.5.0-beta.0+25.2.9519653 Aug 15, 2023
0.4.1+23.1.7779620 Nov 23, 2022
0.1.1 Jul 29, 2020

#124 in Unix APIs

Download history 105143/week @ 2024-09-06 101421/week @ 2024-09-13 109861/week @ 2024-09-20 120227/week @ 2024-09-27 120566/week @ 2024-10-04 120654/week @ 2024-10-11 122687/week @ 2024-10-18 129493/week @ 2024-10-25 135996/week @ 2024-11-01 119386/week @ 2024-11-08 128776/week @ 2024-11-15 118508/week @ 2024-11-22 134852/week @ 2024-11-29 128124/week @ 2024-12-06 126010/week @ 2024-12-13 83001/week @ 2024-12-20

491,083 downloads per month
Used in 3,484 crates (25 directly)

MIT/Apache

3.5MB
105K SLoC

ci MIT license APACHE2 license

Rust bindings to the Android NDK

Name Description Badges
ndk-sys Raw FFI bindings to the NDK crates.io Docs MSRV
ndk Safe abstraction of the bindings crates.io Docs MSRV

See these ndk-examples and these rust-android-examples for examples using the NDK.

[!IMPORTANT] This repository was recently modularized and the following crates were split into separate repositories:

Crate New Location Notes
ndk-context https://github.com/rust-mobile/ndk-context
ndk-glue https://github.com/rust-mobile/ndk-glue deprecated - see android-activity
ndk-macro https://github.com/rust-mobile/ndk-glue deprecated - see android-activity
ndk-build https://github.com/rust-mobile/cargo-apk deprecated - see xbuild
cargo-apk https://github.com/rust-mobile/cargo-apk deprecated - see xbuild

Dependencies