Decision Workspace
bounded-str vs forge-alloc vs nstr
Side-by-side comparison of Rust crates
51
bounded-str
experimentalv0.1.4
Parse, don't validate! No-std bounded string with compile-time length limits and policies
53
forge-alloc
experimentalv0.3.7
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 | 51 | 53 | 48 |
| Total Downloads | 257 | 281 | 6.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 0 |
| Releases | 5 | 10 | 5 |
| Last Updated | 236d ago | 127d ago | 994d ago |
| Age | 7m | 4m | 2y 9m |
Health Breakdown
bounded-str
Maintenance
15
Quality
17
Community
6
Popularity
3
Documentation
10
forge-alloc
Maintenance
16
Quality
15
Community
7
Popularity
3
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.7 | 0.3.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 7 | 0 |
| Crate Size | 7KB | 272KB | 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
- •forge-alloc leads with a health score of 53/100, but none of the options score above 80.
- •nstr has the most downloads (6.8K), suggesting wider adoption.
- •⚠ nstr has not been updated in over a year.