[dependencies.convert_case]
version = "0.8"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
features = ["full"]
version = "2.0"
[lib]
name = "variants_data_struct"
path = "src/lib.rs"
proc-macro = true
required-features = []
[package]
authors = ["Dmitrii Demenev <demenev.dmitriy1@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns"]
description = "A derive macro to convert enums into a struct where the variants are members and types are that that of variants data."
documentation = "https://docs.rs/variants-data-struct"
edition = "2024"
keywords = ["derive", "macro", "enum", "struct"]
license = "MIT OR Apache-2.0"
name = "variants-data-struct"
readme = "README.md"
repository = "https://github.com/JohnScience/variants-data-struct"
version = "0.3.0"