Decision Workspace
sort_by_derive vs enum-derive-2018 vs enum-display
Side-by-side comparison of Rust crates
45
sort_by_derive
growingv0.1.17
Derive macro SortBy and helper macros EnumAccessor and EnumSequence, deriving traits `Ord`, `PartialOrd`, `Eq`, `PartialEq` and `Hash` for structs and enums that can't automatically derive from those traits.
55
enum-derive-2018
growingv3.0.2
This crate provides macros for deriving additional functionality for enums.
54
enum-display
growingv0.2.1
A macro to derive Display for enums
Core Metrics
| sort_by_derive | enum-derive-2018 | enum-display | |
|---|---|---|---|
| Health Score | 45 | 55 | 54 |
| Total Downloads | 22.8K | 45.2K | 1.4M |
| 30d Downloads | 73 | 412 | 179.6K |
| Dependents | 2 | 97 | 178 |
| Releases | 18 | 12 | 7 |
| Last Updated | 827d ago | 565d ago | 177d ago |
| Age | 3y 6m | 5y 6m | 3y 6m |
Health Breakdown
sort_by_derive
Maintenance
6
Quality
14
Community
7
Popularity
5
Documentation
13
enum-derive-2018
Maintenance
4
Quality
19
Community
11
Popularity
6
Documentation
15
enum-display
Maintenance
8
Quality
17
Community
9
Popularity
7
Documentation
13
Technical Details
| sort_by_derive | enum-derive-2018 | enum-display | |
|---|---|---|---|
| Version | 0.1.17 | 3.0.2 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Unlicense | MIT OR Apache-2.0 | MIT |
| Dependencies | 6 | 2 | 2 |
| Crate Size | 16KB | 7KB | 6KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 8.3% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.71 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-derive-2018 leads with a health score of 55/100, but none of the options score above 80.
- •enum-display has the most downloads (1.4M), suggesting wider adoption.
- •enum-display is depended on by 178 crates — strongest ecosystem trust.
- •⚠ sort_by_derive, enum-derive-2018 have not been updated in over a year.
- •sort_by_derive, enum-display are pre-1.0 — API may change.