Decision Workspace
c_string vs cstr_core vs byte-strings
Side-by-side comparison of Rust crates
35
c_string
growingv0.7.2
C string helpers for Rust
56
cstr_core
growingv0.2.6
Implementation of CStr and CString for no_std environments.
48
byte-strings
growingv0.3.1
Rust byte strings manipulation, for a better and safer C FFI
Core Metrics
| c_string | cstr_core | byte-strings | |
|---|---|---|---|
| Health Score | 35 | 56 | 48 |
| Total Downloads | 33.4K | 2.9M | 564.4K |
| 30d Downloads | 106 | 77.4K | 24.4K |
| Dependents | 0 | 515 | 69 |
| Releases | 15 | 10 | 10 |
| Last Updated | 1817d ago | 1347d ago | 1019d ago |
| Age | 11y 2m | 8y 5m | 7y 1m |
Health Breakdown
c_string
Maintenance
4
Quality
15
Community
2
Popularity
5
Documentation
9
cstr_core
Maintenance
5
Quality
18
Community
13
Popularity
8
Documentation
12
byte-strings
Maintenance
4
Quality
12
Community
11
Popularity
7
Documentation
14
Technical Details
| c_string | cstr_core | byte-strings | |
|---|---|---|---|
| Version | 0.7.2 | 0.2.6 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0/MIT | Apache-2.0/MIT | Zlib OR MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 1 |
| Crate Size | 13KB | 18KB | 11KB |
| Features | 0 | 6 | 3 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | 1.65.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 515 crates — strongest ecosystem trust.
- •⚠ c_string, cstr_core, byte-strings have not been updated in over a year.