Decision Workspace
lanyard vs stringer vs cstr_core
Side-by-side comparison of Rust crates
40
lanyard
growingv0.1.3
UTF-8 C string types
40
stringer
growingv0.2.0
An easy way to turn an Unsafe *const c_char into a Rust String type and return a pointer.
56
cstr_core
growingv0.2.6
Implementation of CStr and CString for no_std environments.
Core Metrics
| lanyard | stringer | cstr_core | |
|---|---|---|---|
| Health Score | 40 | 40 | 56 |
| Total Downloads | 5.3K | 11.1K | 2.9M |
| 30d Downloads | 56 | 11 | 80.5K |
| Dependents | 11 | 0 | 515 |
| Releases | 4 | 7 | 10 |
| Last Updated | 655d ago | 344d ago | 1347d ago |
| Age | 1y 11m | 9y 10m | 8y 5m |
Health Breakdown
lanyard
Maintenance
5
Quality
13
Community
8
Popularity
4
Documentation
10
stringer
Maintenance
5
Quality
16
Community
3
Popularity
5
Documentation
11
cstr_core
Maintenance
5
Quality
18
Community
13
Popularity
8
Documentation
12
Technical Details
| lanyard | stringer | cstr_core | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 0.2.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MPL-2.0 | MIT | Apache-2.0/MIT |
| Dependencies | 0 | 0 | 2 |
| Crate Size | 9KB | 3KB | 18KB |
| Features | 3 | 0 | 6 |
| Yanked % | 25.0% | 0.0% | 0.0% |
| Edition | 2021 | — | 2018 |
| MSRV | — | — | — |
| 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.
- •⚠ lanyard, cstr_core have not been updated in over a year.