#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

#1644 in Data structures

Download history 4/week @ 2024-07-21 7/week @ 2024-07-28 8/week @ 2024-08-04 9/week @ 2024-08-11 13/week @ 2024-08-25 3/week @ 2024-09-01 2/week @ 2024-09-08 1/week @ 2024-09-15 28/week @ 2024-09-22 14/week @ 2024-09-29 8/week @ 2024-10-06 21/week @ 2024-10-13 59/week @ 2024-10-20 34/week @ 2024-10-27 33/week @ 2024-11-03

148 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.7–1.2MB
~27K SLoC