#enumerated #contain #2-n #contain-of-2-n

no-std either_of

Utilities for working with enumerated types that contain one of 2..n other types

7 releases

0.1.9 Apr 16, 2026
0.1.8 Mar 1, 2026
0.1.6 Apr 11, 2025
0.1.5 Jan 31, 2025
0.1.0 Apr 27, 2024

#667 in Rust patterns

Download history 16607/week @ 2026-01-19 17082/week @ 2026-01-26 21284/week @ 2026-02-02 18385/week @ 2026-02-09 24341/week @ 2026-02-16 22706/week @ 2026-02-23 30237/week @ 2026-03-02 34928/week @ 2026-03-09 32968/week @ 2026-03-16 31213/week @ 2026-03-23 28927/week @ 2026-03-30 29713/week @ 2026-04-06 36434/week @ 2026-04-13 37621/week @ 2026-04-20 43031/week @ 2026-04-27 38722/week @ 2026-05-04

159,056 downloads per month
Used in 331 crates (4 directly)

MIT license

57KB
1K SLoC

Utilities for working with enumerated types that contain one of 2..n other types.

Dependencies

~45KB