6 releases (breaking)
0.5.0 | Oct 6, 2022 |
---|---|
0.4.0 | Feb 23, 2020 |
0.3.0 | Dec 20, 2019 |
0.2.0 | Dec 18, 2019 |
0.1.0 | Oct 21, 2019 |
#472 in Rust patterns
6,329 downloads per month
Used in 31 crates
(17 directly)
11KB
130 lines
int-enum
This crate provides a derive macro to generate code for conversion between integer and enum types.
[dependencies]
int-enum = "0.5"
Compiler support: requires rustc 1.60+
License
This project is licensed under either of Apache License, Version 2.0 or MIT License at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~3MB
~67K SLoC