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