Decision Workspace
swrite vs nameth vs str-macro
Side-by-side comparison of Rust crates
53
swrite
growingv0.1.0
Infallible alternatives to write! and writeln! for Strings
59
nameth
growingv0.1.23
A simple macro to generate a static &str representing the name of a function, a struct or an enum
56
str-macro
growingv1.0.1
The str!() macro, similar to vec![] but for strings
Core Metrics
| swrite | nameth | str-macro | |
|---|---|---|---|
| Health Score | 53 | 59 | 56 |
| Total Downloads | 3.7M | 14.4K | 1.1M |
| 30d Downloads | 395.0K | 356 | 14.7K |
| Dependents | 156 | 175 | 97 |
| Releases | 3 | 24 | 7 |
| Last Updated | 1084d ago | 20d ago | 162d ago |
| Age | 2y 11m | 1y 3m | 6y 11m |
Health Breakdown
swrite
Maintenance
5
Quality
17
Community
12
Popularity
8
Documentation
11
nameth
Maintenance
18
Quality
14
Community
12
Popularity
5
Documentation
10
str-macro
Maintenance
9
Quality
21
Community
10
Popularity
7
Documentation
9
Technical Details
| swrite | nameth | str-macro | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.23 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 1 | 0 |
| Crate Size | 7KB | 3KB | 4KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 4.2% | 0.0% |
| Edition | — | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nameth leads with a health score of 59/100, but none of the options score above 80.
- •swrite has the most downloads (3.7M), suggesting wider adoption.
- •nameth is depended on by 175 crates — strongest ecosystem trust.
- •⚠ swrite has not been updated in over a year.
- •swrite, nameth are pre-1.0 — API may change.