Decision Workspace
closed-trait-macros vs closed-trait vs enum_traits_macros
Side-by-side comparison of Rust crates
46
closed-trait-macros
experimentalv0.2.0
Attribute macros for the closed-trait crate
45
closed-trait
experimentalv0.2.0
Seal a trait to a fixed set of types, and generate an enum and match macro over them
66
enum_traits_macros
stablev6.1.0
Procedural macros adding functionality to enums. Derives traits from the crate `enum_traits`
Core Metrics
| closed-trait-macros | closed-trait | enum_traits_macros | |
|---|---|---|---|
| Health Score | 46 | 45 | 66 |
| Total Downloads | 99 | 63 | 16.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 0 | 7 |
| Releases | 4 | 4 | 12 |
| Last Updated | 29d ago | 29d ago | 3d ago |
| Age | 1m | 1m | 11y 1m |
Health Breakdown
closed-trait-macros
Maintenance
11
Quality
14
Community
7
Popularity
2
Documentation
12
closed-trait
Maintenance
11
Quality
14
Community
6
Popularity
2
Documentation
12
enum_traits_macros
Maintenance
16
Quality
24
Community
8
Popularity
5
Documentation
13
Technical Details
| closed-trait-macros | closed-trait | enum_traits_macros | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.0 | 6.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 2 | 3 |
| Crate Size | 54KB | 38KB | 29KB |
| Features | 0 | 0 | 54 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85.0 | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum_traits_macros leads with a health score of 66/100, but none of the options score above 80.
- •closed-trait-macros, closed-trait are pre-1.0 — API may change.