variante 0.2.0

Statically-verified enum variant names as strings.
Documentation

variante

Statically verified enum variant names as strings.

This repository is inspired by field.

See the documentation for more details.

Installation

Add the following to your Cargo manifest (Cargo.toml file):

[dependencies]
variante = "0.2.0"

Or, just run cargo add variante.

Dependencies

variante has zero dependencies, and is #[no_std]-compatible by default.

License

Licensed under either of

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.