enumset
enumset copied to clipboard
A library for compact bit sets containing enums.
Updates the requirements on [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) to permit the latest version. Release notes Sourced from proc-macro-crate's releases. v2.0.0 What's Changed Release 2.0.0 by @bkchr in bkchr/proc-macro-crate#39 Full Changelog: https://github.com/bkchr/proc-macro-crate/compare/v1.3.1...v2.0.0 Commits cc100ed...
I have two data structures indexed by `T: EnumSetType`. ```rust /// A bitset similar to [`BitMatrix`][super::BitMatrix], /// but with a fixed column and row count, one row per `T` variant....
I would love to have some methods like `intersection`, `union` etc. const. Would help me avoid using `lazy_static!` or `once_cell::Lazy` at a bunch places in my code. This will probably...
 Solution: add `#[allow(non_snake_case)]` where necessary.
Can we make `EnumSet` work on enums with fields where the fields `impl EnumSetType`? E.g. ``` #[derive(EnumSetType)] enum MyEnum { A B(MyEnumInner) } #[derive(EnumSetType)] enum MyEnumInner { C D }...
`EnumSet` types can be used to represent a columns of tables. Basic support means that only 32-bit int representation is supported.
It's a useful place to have compact bit sets, despite not being embedded.
Updates the requirements on [bincode](https://github.com/bincode-org/bincode) to permit the latest version. Release notes Sourced from bincode's releases. v1.3.3 Removed byteorder as a dependency Commits c44b5e3 remove byteorder as a dependency (#390)...