Decision Workspace
maybe-borrow vs bon vs lazy-regex
Side-by-side comparison of Rust crates
36
maybe-borrow
growingv0.1.2
Macros for conditionally returning borrowed data.
76
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
71
lazy-regex
stablev3.6.0
lazy static regular expressions checked at compile time
Core Metrics
| maybe-borrow | bon | lazy-regex | |
|---|---|---|---|
| Health Score | 36 | 76 | 71 |
| Total Downloads | 2.3K | 26.3M | 28.1M |
| 30d Downloads | 5 | 4.5M | 2.4M |
| Dependents | 0 | 4.8K | 4.3K |
| Releases | 3 | 46 | 32 |
| Last Updated | 423d ago | 14d ago | 44d ago |
| Age | 1y 2m | 1y 9m | 6y 5m |
Health Breakdown
maybe-borrow
Maintenance
6
Quality
15
Community
4
Popularity
4
Documentation
7
bon
Maintenance
18
Quality
21
Community
17
Popularity
8
Documentation
12
lazy-regex
Maintenance
15
Quality
22
Community
14
Popularity
8
Documentation
12
Technical Details
| maybe-borrow | bon | lazy-regex | |
|---|---|---|---|
| Version | 0.1.2 | 3.9.1 | 3.6.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 6 | 4 |
| Crate Size | 11KB | 67KB | 11KB |
| Features | 0 | 7 | 16 |
| Yanked % | 0.0% | 0.0% | 3.1% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.59.0 | 1.71 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •bon leads with a health score of 76/100, but none of the options score above 80.
- •lazy-regex has the most downloads (28.1M), suggesting wider adoption.
- •bon is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ maybe-borrow has not been updated in over a year.
- •maybe-borrow is pre-1.0 — API may change.