38 releases (12 stable)
1.0.12 | Oct 3, 2022 |
---|---|
1.0.11 | Apr 12, 2022 |
1.0.8 | Nov 5, 2021 |
1.0.7 | Jul 5, 2021 |
0.3.2 | Nov 29, 2017 |
#25 in Data structures
175,772 downloads per month
Used in 335 crates
(47 directly)
48KB
773 lines
enumset
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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
~0.5–1.2MB
~26K SLoC