Decision Workspace
bounded-str vs forge-alloc vs nstr
Side-by-side comparison of Rust crates
55
bounded-str
experimentalv0.1.4
Parse, don't validate! No-std bounded string with compile-time length limits and policies
49
forge-alloc
experimentalv0.3.0
Composable memory allocator primitives — pay-for-what-you-use security hardening with zero-cost type-level composition
48
nstr
growingv0.3.2
A no_std, no_alloc, embedded-friendly string library
Core Metrics
| bounded-str | forge-alloc | nstr | |
|---|---|---|---|
| Health Score | 55 | 49 | 48 |
| Total Downloads | 133 | 19 | 6.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 5 | 3 | 5 |
| Last Updated | 99d ago | today | 857d ago |
| Age | 3m | 4d | 2y 4m |
Health Breakdown
bounded-str
Maintenance
19
Quality
17
Community
6
Popularity
3
Documentation
10
forge-alloc
Maintenance
14
Quality
15
Community
6
Popularity
2
Documentation
12
nstr
Maintenance
8
Quality
16
Community
6
Popularity
5
Documentation
13
Technical Details
| bounded-str | forge-alloc | nstr | |
|---|---|---|---|
| Version | 0.1.4 | 0.3.0 | 0.3.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 7 | 0 |
| Crate Size | 7KB | 208KB | 8KB |
| Features | 5 | 7 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.84 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bounded-str leads with a health score of 55/100, but none of the options score above 80.
- •nstr has the most downloads (6.7K), suggesting wider adoption.
- •⚠ nstr has not been updated in over a year.