#enums #set #bitset #enum-set

big_enum_set

A library for creating sets of enums with a large number of variants

10 releases

0.3.0 Jun 18, 2023
0.2.1 Jan 11, 2021
0.2.0 May 11, 2020
0.1.7 Mar 14, 2020
0.1.3 Oct 2, 2019

#1078 in Data structures

Download history 8/week @ 2024-01-07 13/week @ 2024-02-18 23/week @ 2024-02-25 18/week @ 2024-03-03 16/week @ 2024-03-10

70 downloads per month
Used in 4 crates

MIT/Apache

42KB
689 lines

big_enum_set

Crates.io Build Status Requires rustc 1.64+ API reference

A library for creating sets of enums with a large number of variants. The set is implemented internally as a bitset stored in an array of usize.

See the documentation for more information.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in big_enum_set by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.8–1.3MB
~30K SLoC