#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

#1352 in Data structures

Download history 15/week @ 2024-02-26 19/week @ 2024-03-04 13/week @ 2024-03-11 8/week @ 2024-03-18 52/week @ 2024-04-01 4/week @ 2024-04-08 4/week @ 2024-04-22 5/week @ 2024-04-29 2/week @ 2024-05-13 17/week @ 2024-05-20 9/week @ 2024-05-27 13/week @ 2024-06-03 14/week @ 2024-06-10

54 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.3MB
~27K SLoC