str_enum 0.3.1

Simple declarative macro for an enum with associated strings for each variant
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "str_enum"
version = "0.3.1"
authors = ["Adam Stopher <adam.stopher@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple declarative macro for an enum with associated strings for each variant"
documentation = "https://docs.rs/str_enum"
readme = "README.md"
keywords = [
    "enum",
    "str_enum",
    "macro",
    "string",
    "declarative-macro",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SneedSeedFeed/str_enum.git"
resolver = "3"

[features]
phf = [
    "dep:phf",
    "phf/macros",
]
serde = [
    "dep:serde",
    "serde/alloc",
]
strum = ["dep:strum"]

[lib]
name = "str_enum"
path = "src/lib.rs"

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

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

[dependencies.phf]
version = "0.13.1"
optional = true

[dependencies.serde]
version = "1.0.228"
optional = true
default-features = false

[dependencies.strum]
version = "0.28.0"
optional = true
default-features = false

[dev-dependencies.serde_json]
version = "1.0.149"