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
47
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 | 47 | 42 |
| Total Downloads | 3.4K | 1.4K | 11.1K |
| 30d Downloads | 4 | 7 | 308 |
| Dependents | 0 | 0 | 9 |
| Releases | 2 | 5 | 3 |
| Last Updated | 2287d ago | 93d ago | 2491d ago |
| Age | 8y 4m | 7m | 6y 10m |
Health Breakdown
thin_cstr
Maintenance
3
Quality
16
Community
3
Popularity
4
Documentation
8
stack-cstr
Maintenance
13
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 47/100, but none of the options score above 80.
- •embedded-ffi has the most downloads (11.1K), suggesting wider adoption.
- •⚠ thin_cstr, embedded-ffi have not been updated in over a year.