#enum #bitset #set #enumset

big_enum_set

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

8 releases

0.2.0 May 11, 2020
0.1.7 Mar 14, 2020
0.1.5 Dec 20, 2019
0.1.3 Oct 2, 2019

#696 in Data structures

Download history 25/week @ 2020-05-28 22/week @ 2020-06-04 15/week @ 2020-06-11 1/week @ 2020-06-18 2/week @ 2020-06-25 22/week @ 2020-07-02 11/week @ 2020-07-09 3/week @ 2020-07-16 8/week @ 2020-07-23 11/week @ 2020-08-06 24/week @ 2020-08-13 19/week @ 2020-08-20 19/week @ 2020-08-27 32/week @ 2020-09-03 10/week @ 2020-09-10

78 downloads per month
Used in 2 crates

MIT/Apache

37KB
646 lines

big_enum_set

Crates.io Build Status Requires rustc 1.38+ 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.2MB
~28K SLoC