A library that allows you to configure values specific to each variants of an enum.
```Rust use custom_attrs::CustomAttrs;
// ...
// set the attributes
enum Enum { #[attr(a = 5)] #[attr(b = 3)] Variant1,
#[attr(a = 3)]
#[attr(c = "Hello again !")]
Variant2,
}
fn main() { let a = Enum::Variant1.get_a(); } ```
See the examples directory for more details.
Licensed under the MIT license.