9 unstable releases

0.5.0+25.2.9519653 Oct 14, 2023
0.4.1+23.1.7779620 Nov 23, 2022
0.4.0 Jul 24, 2022
0.3.0 Jan 5, 2022
0.1.1 Jul 29, 2020

#129 in Unix APIs

Download history 57097/week @ 2023-12-16 29707/week @ 2023-12-23 40417/week @ 2023-12-30 51783/week @ 2024-01-06 52574/week @ 2024-01-13 53029/week @ 2024-01-20 47940/week @ 2024-01-27 54930/week @ 2024-02-03 51733/week @ 2024-02-10 50497/week @ 2024-02-17 60204/week @ 2024-02-24 61195/week @ 2024-03-02 57063/week @ 2024-03-09 58635/week @ 2024-03-16 65855/week @ 2024-03-23 51540/week @ 2024-03-30

242,342 downloads per month
Used in 2,592 crates (24 directly)

MIT/Apache

3MB
97K SLoC

Note 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
cargo-apk https://github.com/rust-mobile/cargo-apk

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.

Dependencies