Decision Workspace
set_slice vs str-macro vs get_set_macro
Side-by-side comparison of Rust crates
40
set_slice
growingv0.3.0
A macro for assigning values to slices
56
str-macro
growingv1.0.1
The str!() macro, similar to vec![] but for strings
53
get_set_macro
growingv1.1.2
Procedural macro to generate customizable getters and setters in Rust
Core Metrics
| set_slice | str-macro | get_set_macro | |
|---|---|---|---|
| Health Score | 40 | 56 | 53 |
| Total Downloads | 21.5K | 1.1M | 3.0K |
| 30d Downloads | 16 | 13.9K | 22 |
| Dependents | 0 | 97 | 0 |
| Releases | 15 | 7 | 5 |
| Last Updated | 2810d ago | 162d ago | 332d ago |
| Age | 7y 8m | 6y 11m | 11m |
Health Breakdown
set_slice
Maintenance
10
Quality
11
Community
6
Popularity
5
Documentation
8
str-macro
Maintenance
9
Quality
21
Community
10
Popularity
7
Documentation
9
get_set_macro
Maintenance
14
Quality
17
Community
5
Popularity
4
Documentation
13
Technical Details
| set_slice | str-macro | get_set_macro | |
|---|---|---|---|
| Version | 0.3.0 | 1.0.1 | 1.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 0 | 4 |
| Crate Size | 9KB | 4KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 20.0% | 0.0% | 0.0% |
| Edition | — | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •str-macro leads with a health score of 56/100, but none of the options score above 80.
- •⚠ set_slice has not been updated in over a year.
- •set_slice is pre-1.0 — API may change.