[package]
edition = "2024"
rust-version = "1.85.0"
name = "struct-to-enum"
version = "0.0.1"
authors = ["Sinder <smirnov.sinder@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for generating enums from structs."
readme = "README.md"
keywords = [
"derive",
"macros",
"enum",
"struct",
"codegen",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sinder38/struct-to-enum"
[lib]
name = "struct_to_enum"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "complex"
path = "tests/complex.rs"
[[test]]
name = "field_name_tests"
path = "tests/field_name_tests.rs"
[[test]]
name = "field_type_tests"
path = "tests/field_type_tests.rs"
[dependencies.heck]
version = "0.5.0"
[dependencies.proc-macro2]
version = "1.0.106"
[dependencies.quote]
version = "1.0.44"
[dependencies.syn]
version = "2.0.117"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.strum]
version = "0.28.0"
[dev-dependencies.strum_macros]
version = "0.28.0"