Decision Workspace
cstr-literal vs better_cstr vs constant-cstr
Side-by-side comparison of Rust crates
41
cstr-literal
growingv0.1.0
A const-friendly macro for C string literals.
40
better_cstr
growingv0.2.1
A better macro for working with C strings
39
constant-cstr
growingv0.1.1
Create const instances of CStr at compile time
Core Metrics
| cstr-literal | better_cstr | constant-cstr | |
|---|---|---|---|
| Health Score | 41 | 40 | 39 |
| Total Downloads | 18.8K | 1.8K | 2.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 0 | 0 |
| Releases | 1 | 3 | 2 |
| Last Updated | 1090d ago | 394d ago | 1398d ago |
| Age | 2y 12m | 1y 1m | 3y 10m |
Health Breakdown
cstr-literal
Maintenance
1
Quality
15
Community
8
Popularity
5
Documentation
12
better_cstr
Maintenance
6
Quality
15
Community
5
Popularity
4
Documentation
10
constant-cstr
Maintenance
4
Quality
15
Community
6
Popularity
4
Documentation
10
Technical Details
| cstr-literal | better_cstr | constant-cstr | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.1 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 3 | 2 |
| Crate Size | 4KB | 6KB | 3KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.64.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cstr-literal leads with a health score of 41/100, but none of the options score above 80.
- •⚠ cstr-literal, better_cstr, constant-cstr have not been updated in over a year.