Decision Workspace
fixed_len_str vs str_array vs expand_array
Side-by-side comparison of Rust crates
47
fixed_len_str
growingv0.3.3
A procedural macro for create a smart pointer to str backed by a fixed size array,with the size given by the tokens.
44
str_array
growingv1.1.0
Fixed-size `str` and `CStr` types backed by an array
40
expand_array
growingv0.2.0
Macro to convert a static array to a fixed-size array
Core Metrics
| fixed_len_str | str_array | expand_array | |
|---|---|---|---|
| Health Score | 47 | 44 | 40 |
| Total Downloads | 34.8K | 116 | 2.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 37 | 0 | 0 |
| Releases | 23 | 4 | 2 |
| Last Updated | 2444d ago | 323d ago | 875d ago |
| Age | 6y 9m | 11m | 2y 4m |
Health Breakdown
fixed_len_str
Maintenance
7
Quality
16
Community
10
Popularity
5
Documentation
9
str_array
Maintenance
9
Quality
15
Community
6
Popularity
2
Documentation
12
expand_array
Maintenance
4
Quality
16
Community
6
Popularity
4
Documentation
10
Technical Details
| fixed_len_str | str_array | expand_array | |
|---|---|---|---|
| Version | 0.3.3 | 1.1.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Unlicense | Apache-2.0 OR MIT | MPL-2.0 |
| Dependencies | 1 | 1 | 0 |
| Crate Size | 10KB | 22KB | 10KB |
| Features | 4 | 3 | 0 |
| Yanked % | 4.3% | 25.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.64 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fixed_len_str leads with a health score of 47/100, but none of the options score above 80.
- •⚠ fixed_len_str, expand_array have not been updated in over a year.
- •fixed_len_str, expand_array are pre-1.0 — API may change.