Decision Workspace
xxor vs subenum vs stateless
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.
60
subenum
growingv1.1.3
A proc-macro to create subsets of enums, that can be converted to and from.
49
stateless
experimentalv0.4.1
A lightweight, zero-cost state machine library that separates structure from behavior. Guards and actions live in wrapper code, not the DSL.
Core Metrics
| xxor | subenum | stateless | |
|---|---|---|---|
| Health Score | 34 | 60 | 49 |
| Total Downloads | 541 | 3.6M | 1.0K |
| 30d Downloads | 3 | 130.3K | 81 |
| Dependents | 0 | 72 | 0 |
| Releases | 1 | 7 | 5 |
| Last Updated | 298d ago | 176d ago | 7d ago |
| Age | 9m | 3y 1m | 4m |
Health Breakdown
xxor
Maintenance
3
Quality
15
Community
3
Popularity
3
Documentation
10
subenum
Maintenance
8
Quality
21
Community
10
Popularity
8
Documentation
13
stateless
Maintenance
18
Quality
14
Community
3
Popularity
4
Documentation
10
Technical Details
| xxor | subenum | stateless | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.3 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 6 | 3 |
| Crate Size | 2KB | 17KB | 11KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •subenum leads with a health score of 60/100, but none of the options score above 80.
- •xxor, stateless are pre-1.0 — API may change.