#enums #bitset

deprecated wasmer_enumset

A library for creating compact sets of enums. Wasmer fork to work around syn issue. This will not be updated once the issue is fixed upstream.

1 stable release

1.0.1 Jan 11, 2021

#53 in #bitset

Download history 371/week @ 2024-07-25 352/week @ 2024-08-01 416/week @ 2024-08-08 393/week @ 2024-08-15 437/week @ 2024-08-22 442/week @ 2024-08-29 308/week @ 2024-09-05 315/week @ 2024-09-12 410/week @ 2024-09-19 518/week @ 2024-09-26 358/week @ 2024-10-03 249/week @ 2024-10-10 385/week @ 2024-10-17 354/week @ 2024-10-24 317/week @ 2024-10-31 203/week @ 2024-11-07

1,306 downloads per month
Used in stayawake

MIT/Apache

31KB
460 lines

enumset

Build Status Latest Version Requires rustc 1.31+ Rust Documentation

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

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
~47K SLoC