43 releases (17 stable)

1.1.3 Oct 11, 2023
1.1.2 May 10, 2023
1.0.12 Oct 3, 2022
1.0.11 Apr 12, 2022
0.3.2 Nov 29, 2017

#50 in Data structures

Download history 66467/week @ 2023-12-16 28163/week @ 2023-12-23 53088/week @ 2023-12-30 63513/week @ 2024-01-06 66673/week @ 2024-01-13 71419/week @ 2024-01-20 74824/week @ 2024-01-27 70681/week @ 2024-02-03 68906/week @ 2024-02-10 60631/week @ 2024-02-17 65382/week @ 2024-02-24 67812/week @ 2024-03-02 79185/week @ 2024-03-09 77073/week @ 2024-03-16 72965/week @ 2024-03-23 70348/week @ 2024-03-30

311,958 downloads per month
Used in 635 crates (77 directly)

MIT/Apache

74KB
1.5K SLoC

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.

Dependencies

~0.7–1.5MB
~33K SLoC