# 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 = "2021"
rust-version = "1.75"
name = "tree-display"
version = "1.0.0"
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-file = "LICENSE"
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"
