enum_ext 0.4.5

procedural macro that enhances enums with additional methods and conversions
Documentation
[dependencies.proc-macro2]
version = "1.0.101"

[dependencies.quote]
version = "1.0.41"

[dependencies.rand]
optional = true
version = "0.9"

[dependencies.syn]
features = ["full", "fold"]
version = "2.0.107"

[[example]]
name = "basic_disc"
path = "examples/basic_disc.rs"

[[example]]
name = "basic_no_disc"
path = "examples/basic_no_disc.rs"

[[example]]
name = "test_random_feature"
path = "examples/test_random_feature.rs"

[features]
default = []
random = ["rand"]

[lib]
name = "enum_ext"
path = "src/lib.rs"
proc-macro = true

[package]
authors = ["cubicle-jockey <cubicle-jockey@users.noreply.github.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns", "development-tools"]
description = "procedural macro that enhances enums with additional methods and conversions"
edition = "2024"
exclude = ["target", "Cargo.lock"]
homepage = "https://github.com/cubicle-jockey/enum_ext"
keywords = ["enum", "macro", "discriminant", "procedural"]
license = "MIT OR Apache-2.0"
name = "enum_ext"
readme = "README.md"
repository = "https://github.com/cubicle-jockey/enum_ext"
version = "0.4.5"

[[test]]
name = "attr"
path = "tests/attr.rs"

[[test]]
name = "discriminant_expr"
path = "tests/discriminant_expr.rs"

[[test]]
name = "example_tests"
path = "tests/example_tests.rs"

[[test]]
name = "new_features_test"
path = "tests/new_features_test.rs"

[[test]]
name = "no_std"
path = "tests/no_std.rs"

[[test]]
name = "proc"
path = "tests/proc.rs"