int-enum

crates.io docs.rs build status

This crate provides a derive macro to generate code for conversion between integer and enum types.

toml [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.