/enumset

A library for compact bit sets based on enums.

Primary LanguageRustOtherNOASSERTION

enumset

Build Status Latest Version Requires rustc 1.34+ 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.