Decision Workspace
enum2contract vs enum2contract-derive vs caret
Side-by-side comparison of Rust crates
54
enum2contract
growingv0.3.0
enum2contract is a no_std compatible rust derive macro that lets users specify contracts for pub/sub style messaging using strongly typed rust enums. Conversion methods for JSON and binary are created for the generated payloads.
56
enum2contract-derive
growingv0.3.0
Derive macro implementation for enum2contract.
68
caret
growingv0.9.0
Macros for declaring non-exhaustive C-style enumerations, with named members
Core Metrics
| enum2contract | enum2contract-derive | caret | |
|---|---|---|---|
| Health Score | 54 | 56 | 68 |
| Total Downloads | 34.3K | 1.6K | 658.8K |
| 30d Downloads | 0 | 0 | 176.3K |
| Dependents | 1 | 1 | 297 |
| Releases | 9 | 2 | 30 |
| Last Updated | 2d ago | 2d ago | 101d ago |
| Age | 3y 2m | 3y 1m | 4y 11m |
Health Breakdown
enum2contract
Maintenance
16
Quality
14
Community
4
Popularity
5
Documentation
15
enum2contract-derive
Maintenance
16
Quality
15
Community
6
Popularity
4
Documentation
15
caret
Maintenance
17
Quality
17
Community
15
Popularity
7
Documentation
12
Technical Details
| enum2contract | enum2contract-derive | caret | |
|---|---|---|---|
| Version | 0.3.0 | 0.3.0 | 0.9.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 3 | 0 |
| Crate Size | 6KB | 3KB | 4KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.95 | 1.95 | 1.89 |
| Owners | 1 | 1 | 4 |
Links
Quick Verdict
- •caret leads with a health score of 68/100, but none of the options score above 80.
- •caret is depended on by 297 crates — strongest ecosystem trust.