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

#76 in Unix APIs

Download history 51747/week @ 2024-01-23 49354/week @ 2024-01-30 55325/week @ 2024-02-06 51879/week @ 2024-02-13 51037/week @ 2024-02-20 61001/week @ 2024-02-27 60588/week @ 2024-03-05 56863/week @ 2024-03-12 60715/week @ 2024-03-19 64295/week @ 2024-03-26 59965/week @ 2024-04-02 64832/week @ 2024-04-09 69536/week @ 2024-04-16 69455/week @ 2024-04-23 65975/week @ 2024-04-30 59102/week @ 2024-05-07

275,313 downloads per month
Used in 2,722 crates (23 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