Decision Workspace
heck-but-macros vs assert-cmp vs bon
Side-by-side comparison of Rust crates
40
heck-but-macros
growingv0.0.1
A proc macro wrapper around the heck crate, so that its casing functions can be applied to identifiers. Also contains a workaround for (limited) stringification.
51
assert-cmp
growingv0.3.0
Convenient assertion macros that print the failed expressions and their evaluated values
76
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| heck-but-macros | assert-cmp | bon | |
|---|---|---|---|
| Health Score | 40 | 51 | 76 |
| Total Downloads | 35.2K | 32.2K | 26.3M |
| 30d Downloads | 142 | 1.9K | 4.6M |
| Dependents | 5 | 51 | 4.8K |
| Releases | 1 | 5 | 46 |
| Last Updated | 2001d ago | 283d ago | 14d ago |
| Age | 5y 5m | 4y 11m | 1y 9m |
Health Breakdown
heck-but-macros
Maintenance
1
Quality
14
Community
8
Popularity
5
Documentation
12
assert-cmp
Maintenance
7
Quality
16
Community
11
Popularity
5
Documentation
12
bon
Maintenance
18
Quality
21
Community
17
Popularity
8
Documentation
12
Technical Details
| heck-but-macros | assert-cmp | bon | |
|---|---|---|---|
| Version | 0.0.1 | 0.3.0 | 3.9.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 0 | 6 |
| Crate Size | 9KB | 4KB | 67KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | 1.59.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 76/100, but none of the options score above 80.
- •bon is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ heck-but-macros has not been updated in over a year.
- •heck-but-macros, assert-cmp are pre-1.0 — API may change.