[package]
edition = "2021"
rust-version = "1.71.1"
name = "gratte"
version = "2.0.0"
authors = ["Charles Lechasseur <shiftingbeard@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helpful macros for working with enums and strings; forked from strum"
homepage = "https://github.com/clechasseur/gratte#readme"
documentation = "https://docs.rs/gratte/"
readme = "README.md"
keywords = [
"enum",
"string",
"macros",
"proc-macros",
]
categories = [
"development-tools::procedural-macro-helpers",
"parsing",
]
license = "MIT"
repository = "https://github.com/clechasseur/gratte"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"std",
"derive",
]
derive = ["dep:gratte_macros"]
phf = ["dep:phf"]
std = []
[lib]
name = "gratte"
path = "src/lib.rs"
[dependencies.gratte_macros]
version = "2.0.0"
optional = true
[dependencies.phf]
version = "0.13.1"
features = ["macros"]
optional = true
[dev-dependencies]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(tarpaulin)",
"cfg(tarpaulin_include)",
"cfg(coverage)",
"cfg(coverage_nightly)",
]