[package]
edition = "2021"
rust-version = "1.75"
name = "tree-display"
version = "1.0.2"
authors = ["Cezar Petriuc <contact@czrptr.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Display Rust data structures as syntax-highlighted trees in the terminal with a single derive macro.
Features full color theming, context-aware value mapping, and intelligent formatting for collections.
Perfect for debugging, compiler diagnostics, and AST inspection.
"""
documentation = "https://docs.rs/tree-display/latest/tree-display"
readme = "README.md"
keywords = [
"tree",
"debug",
"formatting",
"derive",
"pretty-print",
]
categories = [
"visualization",
"command-line-utilities",
"development-tools::debugging",
"development-tools::procedural-macro-helpers",
]
license = "MIT"
repository = "https://github.com/czrptr/tree-display"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
chumsky = ["dep:chumsky"]
color = [
"dep:anstyle",
"dep:anstream",
]
default = ["color"]
[lib]
name = "tree_display"
path = "src/lib.rs"
[[test]]
name = "tree_display"
path = "tests/tree_display.rs"
[dependencies.anstream]
version = "1.0"
optional = true
[dependencies.anstyle]
version = "1.0"
optional = true
[dependencies.chumsky]
version = "0.12"
optional = true
[dependencies.derive]
version = "1.0"
package = "tree-display-derive"
[dev-dependencies.regex]
version = "1.0"