Decision Workspace
cargo-apk vs ndk-build2 vs ndk-context
Side-by-side comparison of Rust crates
46
cargo-apk
growingv0.10.0
Helps cargo build APKs
60
ndk-build2
stablev1.3.11
Utilities for building Android binaries
56
ndk-context
growingv0.1.1
Handles for accessing Android APIs
Core Metrics
| cargo-apk | ndk-build2 | ndk-context | |
|---|---|---|---|
| Health Score | 46 | 60 | 56 |
| Total Downloads | 197.7K | 6.7K | 35.3M |
| 30d Downloads | 2.2K | 0 | 2.6M |
| Dependents | 0 | 20 | 727 |
| Releases | 32 | 20 | 2 |
| Last Updated | 956d ago | 12d ago | 1546d ago |
| Age | 10y 2m | 1y 8m | 4y 5m |
Health Breakdown
cargo-apk
Maintenance
6
Quality
12
Community
8
Popularity
6
Documentation
14
ndk-build2
Maintenance
18
Quality
18
Community
7
Popularity
5
Documentation
12
ndk-context
Maintenance
3
Quality
16
Community
16
Popularity
8
Documentation
13
Technical Details
| cargo-apk | ndk-build2 | ndk-context | |
|---|---|---|---|
| Version | 0.10.0 | 1.3.11 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 10 | 7 | 0 |
| Crate Size | 19KB | 24KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 3.1% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | 1.70 | 1.95.0 | — |
| Owners | 2 (team) | 1 | 4 (team) |
Links
Quick Verdict
- •ndk-build2 leads with a health score of 60/100, but none of the options score above 80.
- •ndk-context has the most downloads (35.3M), suggesting wider adoption.
- •ndk-context is depended on by 727 crates — strongest ecosystem trust.
- •⚠ cargo-apk, ndk-context have not been updated in over a year.
- •cargo-apk, ndk-context are pre-1.0 — API may change.