Decision Workspace
behave-macros vs assert-struct vs simplebench-macros
Side-by-side comparison of Rust crates
54
behave-macros
experimentalv0.9.2
Proc macros for the behave BDD testing framework
63
assert-struct
experimentalv0.4.2
A procedural macro for ergonomic structural assertions in tests
53
simplebench-macros
experimentalv2.2.0
Procedural macros for SimpleBench - provides the #[bench] attribute
Core Metrics
| behave-macros | assert-struct | simplebench-macros | |
|---|---|---|---|
| Health Score | 54 | 63 | 53 |
| Total Downloads | 170 | 7.3K | 153 |
| 30d Downloads | 170 | 2.4K | 10 |
| Dependents | 5 | 10 | 0 |
| Releases | 8 | 7 | 8 |
| Last Updated | 10d ago | 4d ago | 97d ago |
| Age | 16d | 7m | 3m |
Health Breakdown
behave-macros
Maintenance
15
Quality
14
Community
7
Popularity
3
Documentation
15
assert-struct
Maintenance
19
Quality
15
Community
9
Popularity
5
Documentation
15
simplebench-macros
Maintenance
17
Quality
16
Community
5
Popularity
3
Documentation
12
Technical Details
| behave-macros | assert-struct | simplebench-macros | |
|---|---|---|---|
| Version | 0.9.2 | 0.4.2 | 2.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 6 | 6 |
| Crate Size | 21KB | 30KB | 14KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.75 | 1.85 | 1.70 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •assert-struct leads with a health score of 63/100, but none of the options score above 80.
- •behave-macros, assert-struct are pre-1.0 — API may change.