custom_attrs-1.2.3 has been yanked.
Custom Attrs
A library that allows you to configure values specific to each variants of an enum.
Features
- Optional attributes
- Default values
Installation
Add this to your Cargo.toml file :
[]
= "1.2.2"
Examples
use CustomAttrs;
// ...
// set the attributes
// attributes can be optional
// and can also have default values
See the examples directory for more details.
License
Licensed under the MIT license.