Decision Workspace
str_array vs str_arr vs fixed_len_str
Side-by-side comparison of Rust crates
44
str_array
growingv1.1.0
Fixed-size `str` and `CStr` types backed by an array
42
str_arr
experimentalv0.1.0
A crate designed to allow statically sized string literals, much like arrays are to slices.
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.
Core Metrics
| str_array | str_arr | fixed_len_str | |
|---|---|---|---|
| Health Score | 44 | 42 | 47 |
| Total Downloads | 116 | 14 | 34.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 37 |
| Releases | 4 | 1 | 23 |
| Last Updated | 323d ago | 37d ago | 2444d ago |
| Age | 11m | 1m | 6y 9m |
Health Breakdown
str_array
Maintenance
9
Quality
15
Community
6
Popularity
2
Documentation
12
str_arr
Maintenance
11
Quality
14
Community
6
Popularity
1
Documentation
10
fixed_len_str
Maintenance
7
Quality
16
Community
10
Popularity
5
Documentation
9
Technical Details
| str_array | str_arr | fixed_len_str | |
|---|---|---|---|
| Version | 1.1.0 | 0.1.0 | 0.3.3 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | LGPL-2.1 | Unlicense |
| Dependencies | 1 | 2 | 1 |
| Crate Size | 22KB | 4KB | 10KB |
| Features | 3 | 0 | 4 |
| Yanked % | 25.0% | 0.0% | 4.3% |
| Edition | 2021 | 2024 | 2018 |
| 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 has not been updated in over a year.
- •str_arr, fixed_len_str are pre-1.0 — API may change.