A library for creating compact sets of enums.


Keywords
enum, bitset, enumset, rust-library
Licenses
MIT/Apache-2.0

Documentation

enumset

Build Status Latest Version Requires rustc 1.56+ Rust Documentation

A library for defining enums that can be used in compact bit sets. It supports serde and #[no_std] environments, and has basic support for using EnumSets 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.