Decision Workspace
cmp_by_derive vs serde_derive vs deser
Side-by-side comparison of Rust crates
42
cmp_by_derive
growingv0.1.0
Derive macro CmpBy and HashBy, respectively deriving traits `Ord`, `PartialOrd`, `Eq` and `PartialEq`, and `Hash` for structs and enums that can't automatically derive from those traits.
77
serde_derive
stablev1.0.229
Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
64
deser
growingv0.10.1
An experimental serialization and deserialization library for Rust
Core Metrics
| cmp_by_derive | serde_derive | deser | |
|---|---|---|---|
| Health Score | 42 | 77 | 64 |
| Total Downloads | 5.7K | 1.4B | 16.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 33 | 99.0K | 119 |
| Releases | 1 | 271 | 14 |
| Last Updated | 1158d ago | 83d ago | 3d ago |
| Age | 3y 2m | 10y 1m | 4y 8m |
Health Breakdown
cmp_by_derive
Maintenance
1
Quality
14
Community
10
Popularity
4
Documentation
13
serde_derive
Maintenance
14
Quality
20
Community
20
Popularity
8
Documentation
15
deser
Maintenance
16
Quality
16
Community
12
Popularity
5
Documentation
15
Technical Details
| cmp_by_derive | serde_derive | deser | |
|---|---|---|---|
| Version | 0.1.0 | 1.0.229 | 0.10.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 6 | 4 | 15 |
| Crate Size | 13KB | 60KB | 122KB |
| Features | 0 | 2 | 18 |
| Yanked % | 0.0% | 0.4% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.71 | 1.88 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •serde_derive leads with a health score of 77/100, but none of the options score above 80.
- •serde_derive is depended on by 99.0K crates — strongest ecosystem trust.
- •⚠ cmp_by_derive has not been updated in over a year.
- •cmp_by_derive, deser are pre-1.0 — API may change.