#enum #bitset

enumset

A library for creating compact sets of enums

25 releases

✓ Uses Rust 2018 edition

new 0.4.4 Oct 12, 2019
0.4.2 Sep 29, 2019
0.4.0 May 7, 2019
0.3.17 Mar 11, 2019
0.3.2 Nov 29, 2017

#40 in Data structures

Download history 1429/week @ 2019-06-29 1711/week @ 2019-07-06 1489/week @ 2019-07-13 1575/week @ 2019-07-20 1424/week @ 2019-07-27 1543/week @ 2019-08-03 1462/week @ 2019-08-10 1467/week @ 2019-08-17 1460/week @ 2019-08-24 1519/week @ 2019-08-31 1964/week @ 2019-09-07 1925/week @ 2019-09-14 1684/week @ 2019-09-21 1991/week @ 2019-09-28 1987/week @ 2019-10-05

7,145 downloads per month
Used in 30 crates (4 directly)

MIT/Apache

22KB
349 lines

enumset

Latest Version Requires rustc 1.31+ Rust Documentation

A library for defining enums that can be used in compact bit sets. It supports enums up to 128 variants, and has a macro to use these sets in constants.

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 enumset by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.5MB
~28K SLoC