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

#92 in Unix APIs

Download history 59581/week @ 2024-04-04 67658/week @ 2024-04-11 68169/week @ 2024-04-18 67272/week @ 2024-04-25 68362/week @ 2024-05-02 70750/week @ 2024-05-09 87561/week @ 2024-05-16 76919/week @ 2024-05-23 91283/week @ 2024-05-30 93302/week @ 2024-06-06 105592/week @ 2024-06-13 94859/week @ 2024-06-20 96100/week @ 2024-06-27 79477/week @ 2024-07-04 85900/week @ 2024-07-11 73089/week @ 2024-07-18

350,945 downloads per month
Used in 2,965 crates (24 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