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.
47
str_array
experimentalv1.1.0
Fixed-size `str` and `CStr` types backed by an array
41
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 | 47 | 41 |
| Total Downloads | 34.2K | 93 | 2.7K |
| 30d Downloads | 191 | 6 | 4 |
| Dependents | 37 | 0 | 0 |
| Releases | 23 | 4 | 2 |
| Last Updated | 2248d ago | 127d ago | 679d ago |
| Age | 6y 2m | 4m | 1y 10m |
Health Breakdown
fixed_len_str
Maintenance
7
Quality
16
Community
10
Popularity
5
Documentation
9
str_array
Maintenance
13
Quality
14
Community
6
Popularity
2
Documentation
12
expand_array
Maintenance
5
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.