Decision Workspace
cstrptr vs cstr_core vs cstr8
Side-by-side comparison of Rust crates
49
cstrptr
growingv0.1.3
FFI-compatible and no-std &CStr
56
cstr_core
growingv0.2.6
Implementation of CStr and CString for no_std environments.
48
cstr8
growingv0.1.4
string types that are both valid UTF-8 and nul-terminated
Core Metrics
| cstrptr | cstr_core | cstr8 | |
|---|---|---|---|
| Health Score | 49 | 56 | 48 |
| Total Downloads | 9.5K | 3.2M | 7.6K |
| 30d Downloads | 0 | 44.5K | 0 |
| Dependents | 11 | 517 | 3 |
| Releases | 4 | 10 | 5 |
| Last Updated | 1237d ago | 1455d ago | 821d ago |
| Age | 6y 9m | 8y 9m | 4y 1m |
Health Breakdown
cstrptr
Maintenance
6
Quality
17
Community
9
Popularity
5
Documentation
12
cstr_core
Maintenance
5
Quality
18
Community
13
Popularity
8
Documentation
12
cstr8
Maintenance
5
Quality
18
Community
8
Popularity
5
Documentation
12
Technical Details
| cstrptr | cstr_core | cstr8 | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.6 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0/MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 0 |
| Crate Size | 4KB | 18KB | 13KB |
| Features | 4 | 6 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | 1.72.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cstr_core leads with a health score of 56/100, but none of the options score above 80.
- •cstr_core is depended on by 517 crates — strongest ecosystem trust.
- •⚠ cstrptr, cstr_core, cstr8 have not been updated in over a year.