[package]
edition = "2024"
name = "zyn"
version = "0.5.2"
build = false
exclude = [
"assets",
"book",
"examples",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A proc macro framework with templates, composable elements, and built-in diagnostics"
homepage = "https://aacebo.github.io/zyn"
documentation = "https://aacebo.github.io/zyn"
readme = "README.md"
keywords = [
"macro",
"framework",
"proc",
"rust",
]
categories = [
"development-tools::procedural-macro-helpers",
"rust-patterns",
"no-std",
]
license = "MIT"
repository = "https://www.github.com/aacebo/zyn"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["derive"]
derive = ["zyn-derive"]
diagnostics = [
"zyn-core/diagnostics",
"zyn-derive/diagnostics",
]
ext = ["zyn-core/ext"]
pretty = [
"zyn-core/pretty",
"zyn-derive/pretty",
]
[lib]
name = "zyn"
path = "src/lib.rs"
doctest = false
[[test]]
name = "attribute"
path = "tests/attribute/mod.rs"
[[test]]
name = "debug"
path = "tests/debug/mod.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics/mod.rs"
[[test]]
name = "element"
path = "tests/element/mod.rs"
[[test]]
name = "ext"
path = "tests/ext/mod.rs"
required-features = ["ext"]
[[test]]
name = "pipe"
path = "tests/pipe/mod.rs"
[[test]]
name = "zyn"
path = "tests/zyn/mod.rs"
[[bench]]
name = "attr"
path = "benches/attr.rs"
[[bench]]
name = "case"
path = "benches/case.rs"
[[bench]]
name = "expand"
path = "benches/expand.rs"
[dependencies.zyn-core]
version = "=0.5.2"
[dependencies.zyn-derive]
version = "=0.5.2"
optional = true
[dev-dependencies.darling]
version = "0.23"
[dev-dependencies.heck]
version = "0.5"
[dev-dependencies.zyn-core]
version = "=0.5.2"