1 unstable release
0.5.0 | Jan 11, 2021 |
---|
#30 in #updated
1,238 downloads per month
Used in 29 crates
(via wasmer_enumset)
21KB
424 lines
enumset
This is a fork of https://github.com/Lymia/enumset and will not be updated once the fix for the breaking syn
issue is resolved.
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
~2MB
~44K SLoC