Converting an enum to/from String.
Derives ToString, FromStr impl:
```rust
enum Test { Foo, Bar, }
asserteq!(Test::Foo.tostring(), "Foo"); asserteq!(Test::fromstr("Foo").unwrap(), Test::Foo); ```
You can specify snake_case using attribute:
```rust
enum Test { SnakeCase, } ```
labelled-enum provides serde_plugin
feature to work with serde Serializer/Deserializer:
```rust // install labelled-enum with --features serde_plugin
struct Wrapper { #[serde(with = "labelledenum::serdeplugin")] testsnakecase: TestSnakeCase, } ```