nutype-enum-0.0.1 has been yanked.
nutype-enum
[!WARNING]
This crate is under active development and may not be stable.
The crate provides a macro to create a new enum type with a single field.
Why do we need this?
This is useful when you have a value and you want to have enum like behavior and have a catch all case for all other values.
Examples
nutype_enum!
License
This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.
SPDX-License-Identifier: MIT OR Apache-2.0