Decision Workspace
sort_by_derive vs enum-derive-2018 vs enum_stringify
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.
55
enum_stringify
growingv0.6.5
Macro to generate string conversion functions for enums
Core Metrics
| sort_by_derive | enum-derive-2018 | enum_stringify | |
|---|---|---|---|
| Health Score | 45 | 55 | 55 |
| Total Downloads | 23.0K | 51.2K | 55.2K |
| 30d Downloads | 0 | 0 | 2.3K |
| Dependents | 2 | 99 | 32 |
| Releases | 18 | 12 | 13 |
| Last Updated | 935d ago | 673d ago | 64d ago |
| Age | 3y 9m | 5y 10m | 2y 10m |
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_stringify
Maintenance
15
Quality
14
Community
7
Popularity
6
Documentation
13
Technical Details
| sort_by_derive | enum-derive-2018 | enum_stringify | |
|---|---|---|---|
| Version | 0.1.17 | 3.0.2 | 0.6.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Unlicense | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 2 | 5 |
| Crate Size | 16KB | 7KB | 18KB |
| Features | 0 | 2 | 0 |
| 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_stringify has the most downloads (55.2K), suggesting wider adoption.
- •⚠ sort_by_derive, enum-derive-2018 have not been updated in over a year.
- •sort_by_derive, enum_stringify are pre-1.0 — API may change.