Decision Workspace
cstr vs clucstr vs cstr-literal
Side-by-side comparison of Rust crates
48
cstr
growingv0.2.12
Macro for building static CStr reference
47
clucstr
growingv1.2.0
Safe and efficient creation of "CStr" with zero-byte checking and support for concatenating multiple values.
41
cstr-literal
growingv0.1.0
A const-friendly macro for C string literals.
Core Metrics
| cstr | clucstr | cstr-literal | |
|---|---|---|---|
| Health Score | 48 | 47 | 41 |
| Total Downloads | 3.8M | 17.1K | 19.8K |
| 30d Downloads | 76.0K | 0 | 0 |
| Dependents | 459 | 9 | 5 |
| Releases | 21 | 10 | 1 |
| Last Updated | 842d ago | 797d ago | 1139d ago |
| Age | 8y 5m | 8y 3m | 3y 1m |
Health Breakdown
cstr
Maintenance
4
Quality
15
Community
9
Popularity
8
Documentation
12
clucstr
Maintenance
4
Quality
20
Community
8
Popularity
5
Documentation
10
cstr-literal
Maintenance
1
Quality
15
Community
8
Popularity
5
Documentation
12
Technical Details
| cstr | clucstr | cstr-literal | |
|---|---|---|---|
| Version | 0.2.12 | 1.2.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | MIT |
| Dependencies | 3 | 3 | 2 |
| Crate Size | 6KB | 10KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.64 | — | 1.64.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cstr leads with a health score of 48/100, but none of the options score above 80.
- •cstr is depended on by 459 crates — strongest ecosystem trust.
- •⚠ cstr, clucstr, cstr-literal have not been updated in over a year.
- •cstr, cstr-literal are pre-1.0 — API may change.