variante 0.2.0

Statically-verified enum variant names as strings.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 18.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 566.21 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • yamato6537/variante
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yamato6537

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.