Decision Workspace
thin_cstr vs stack-cstr vs embedded-ffi
Side-by-side comparison of Rust crates
34
thin_cstr
growingv0.1.1
An experimental crate which provides a truly thin std::ffi::CStr
44
stack-cstr
experimentalv0.2.0
High-performance stack-to-heap C string creation for Rust with FFI support
42
embedded-ffi
growingv0.1.2
OsStr and OsString for embedded usage
Core Metrics
| thin_cstr | stack-cstr | embedded-ffi | |
|---|---|---|---|
| Health Score | 34 | 44 | 42 |
| Total Downloads | 3.4K | 1.5K | 11.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 9 |
| Releases | 2 | 5 | 3 |
| Last Updated | 2395d ago | 201d ago | 2599d ago |
| Age | 8y 8m | 10m | 7y 1m |
Health Breakdown
thin_cstr
Maintenance
3
Quality
16
Community
3
Popularity
4
Documentation
8
stack-cstr
Maintenance
10
Quality
14
Community
6
Popularity
4
Documentation
10
embedded-ffi
Maintenance
3
Quality
16
Community
9
Popularity
5
Documentation
9
Technical Details
| thin_cstr | stack-cstr | embedded-ffi | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | GPL-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 1 |
| Crate Size | 13KB | 13KB | 12KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •stack-cstr leads with a health score of 44/100, but none of the options score above 80.
- •embedded-ffi has the most downloads (11.6K), suggesting wider adoption.
- •⚠ thin_cstr, embedded-ffi have not been updated in over a year.