Crates.io | variante |
lib.rs | variante |
version | 0.2.0 |
source | src |
created_at | 2023-12-29 07:06:08.234641 |
updated_at | 2023-12-29 07:28:26.62203 |
description | Statically-verified enum variant names as strings. |
homepage | |
repository | https://github.com/yamato6537/variante |
max_upload_size | |
id | 1083021 |
size | 18,618 |
Statically verified enum
variant names as strings.
This repository is inspired by field.
See the documentation for more details.
Add the following to your Cargo manifest (Cargo.toml
file):
[dependencies]
variante = "0.2.0"
Or, just run cargo add variante
.
variante
has zero dependencies, and is #[no_std]
-compatible by default.
Licensed under either of
at your option.
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.