Decision Workspace
cstring-array vs stack-cstr vs terminated
Side-by-side comparison of Rust crates
48
cstring-array
experimentalv0.1.1
Safe, zero-copy wrapper for passing string arrays to C FFI (char**)
47
stack-cstr
experimentalv0.2.0
High-performance stack-to-heap C string creation for Rust with FFI support
44
terminated
growingv1.0.0
Types for representing NUL-terminated UTF8 strings.
Core Metrics
| cstring-array | stack-cstr | terminated | |
|---|---|---|---|
| Health Score | 48 | 47 | 44 |
| Total Downloads | 369 | 1.4K | 4.3K |
| 30d Downloads | 6 | 7 | 44 |
| Dependents | 0 | 0 | 1 |
| Releases | 2 | 5 | 1 |
| Last Updated | 159d ago | 93d ago | 3224d ago |
| Age | 5m | 7m | 8y 10m |
Health Breakdown
cstring-array
Maintenance
10
Quality
14
Community
6
Popularity
3
Documentation
15
stack-cstr
Maintenance
13
Quality
14
Community
6
Popularity
4
Documentation
10
terminated
Maintenance
1
Quality
21
Community
7
Popularity
4
Documentation
11
Technical Details
| cstring-array | stack-cstr | terminated | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | GPL-2.0 | MIT |
| Dependencies | 2 | 2 | 0 |
| Crate Size | 28KB | 13KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | — |
| MSRV | 1.90 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cstring-array leads with a health score of 48/100, but none of the options score above 80.
- •terminated has the most downloads (4.3K), suggesting wider adoption.
- •⚠ terminated has not been updated in over a year.
- •cstring-array, stack-cstr are pre-1.0 — API may change.