Decision Workspace
xxor vs subenum vs among
Side-by-side comparison of Rust crates
34
xxor
experimentalv0.1.0
An enum for expressing two valid outcomes: XOR<This, That> means one or the other, never both.
66
subenum
stablev1.2.0
A proc-macro to create subsets of enums, that can be converted to and from.
58
among
growingv0.2.0
A general purpose sum type with three cases: the enum `Among` with variants `Left`, `Middle` and `Right`. A three-way counterpart to `Either`, with `no_std`, `serde`, `futures` and `tokio` integrations.
Core Metrics
| xxor | subenum | among | |
|---|---|---|---|
| Health Score | 34 | 66 | 58 |
| Total Downloads | 544 | 4.0M | 38.1K |
| 30d Downloads | 0 | 191.8K | 1.7K |
| Dependents | 0 | 101 | 73 |
| Releases | 1 | 8 | 10 |
| Last Updated | 357d ago | 29d ago | 30d ago |
| Age | 11m | 3y 3m | 1y 8m |
Health Breakdown
xxor
Maintenance
3
Quality
15
Community
3
Popularity
3
Documentation
10
subenum
Maintenance
14
Quality
21
Community
10
Popularity
8
Documentation
13
among
Maintenance
16
Quality
12
Community
11
Popularity
5
Documentation
14
Technical Details
| xxor | subenum | among | |
|---|---|---|---|
| Version | 0.1.0 | 1.2.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 6 | 5 |
| Crate Size | 2KB | 21KB | 41KB |
| Features | 0 | 3 | 4 |
| Yanked % | 0.0% | 0.0% | 10.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | — | — | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •subenum leads with a health score of 66/100, but none of the options score above 80.
- •subenum is depended on by 101 crates — strongest ecosystem trust.
- •xxor, among are pre-1.0 — API may change.