# 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.92"
name = "mermaid-text"
version = "0.43.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Render Mermaid diagrams as Unicode box-drawing text — no browser, no image protocols, pure Rust"
homepage = "https://github.com/leboiko/markdown-reader/tree/master/crates/mermaid-text"
readme = "README.md"
keywords = [
    "mermaid",
    "diagram",
    "terminal",
    "unicode",
    "flowchart",
]
categories = [
    "command-line-utilities",
    "text-processing",
    "visualization",
]
license = "MIT"
repository = "https://github.com/leboiko/markdown-reader/tree/master/crates/mermaid-text"

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

[[bin]]
name = "mermaid-text"
path = "src/bin/mermaid_text.rs"

[[example]]
name = "all_shapes"
path = "examples/all_shapes.rs"

[[example]]
name = "ci_pipeline"
path = "examples/ci_pipeline.rs"

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[example]]
name = "visual"
path = "examples/visual.rs"

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

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

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

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

[dependencies.ascii-dag]
version = "0.9.1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.insta]
version = "1"
