#enum #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

#54 in #bitset

Download history 1045/week @ 2023-10-29 767/week @ 2023-11-05 744/week @ 2023-11-12 503/week @ 2023-11-19 692/week @ 2023-11-26 488/week @ 2023-12-03 504/week @ 2023-12-10 561/week @ 2023-12-17 259/week @ 2023-12-24 351/week @ 2023-12-31 472/week @ 2024-01-07 524/week @ 2024-01-14 574/week @ 2024-01-21 360/week @ 2024-01-28 361/week @ 2024-02-04 387/week @ 2024-02-11

1,712 downloads per month
Used in 31 crates (via stayawake)


460 lines


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.


This project is licensed under either of

at your option.


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.


~43K SLoC