Decision Workspace
near-kit-macros vs trait-gen vs hadris-macros
Side-by-side comparison of Rust crates
59
near-kit-macros
experimentalv0.13.1
Proc macros for near-kit typed contract interfaces
67
trait-gen
stablev2.0.10
Trait implementation generator macro
65
hadris-macros
growingv2.5.0
Proc macros for dual sync/async code generation in Hadris
Core Metrics
| near-kit-macros | trait-gen | hadris-macros | |
|---|---|---|---|
| Health Score | 59 | 67 | 65 |
| Total Downloads | 58.6K | 184.2K | 25.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 36 | 14 | 135 |
| Releases | 26 | 30 | 20 |
| Last Updated | 16d ago | 16d ago | 3d ago |
| Age | 8m | 3y 7m | 7m |
Health Breakdown
near-kit-macros
Maintenance
19
Quality
13
Community
9
Popularity
6
Documentation
12
trait-gen
Maintenance
18
Quality
20
Community
8
Popularity
6
Documentation
15
hadris-macros
Maintenance
19
Quality
18
Community
11
Popularity
5
Documentation
12
Technical Details
| near-kit-macros | trait-gen | hadris-macros | |
|---|---|---|---|
| Version | 0.13.1 | 2.0.10 | 2.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 7 | 5 | 1 |
| Crate Size | 12KB | 31KB | 3KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.88 | 1.61.0 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •trait-gen leads with a health score of 67/100, but none of the options score above 80.
- •hadris-macros is depended on by 135 crates — strongest ecosystem trust.
- •near-kit-macros is pre-1.0 — API may change.