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
39
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 | 39 | 56 |
| Total Downloads | 5.4K | 11.1K | 3.1M |
| 30d Downloads | 0 | 0 | 63.8K |
| Dependents | 11 | 0 | 517 |
| Releases | 4 | 7 | 10 |
| Last Updated | 714d ago | 403d ago | 1406d ago |
| Age | 2y 1m | 9y 12m | 8y 7m |
Health Breakdown
lanyard
Maintenance
5
Quality
13
Community
8
Popularity
4
Documentation
10
stringer
Maintenance
4
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 517 crates — strongest ecosystem trust.
- •⚠ lanyard, stringer, cstr_core have not been updated in over a year.