[package]
edition = "2021"
rust-version = "1.87"
name = "termiflow"
version = "0.1.0"
build = false
exclude = [
".claude/",
".maestro/",
".maestro-project/",
".helix/",
"context/",
"planning/",
"analysis/",
"inbox/",
"decisions/",
"artifacts/",
"maestro.toml",
"maestro.toml.example",
"DEMO.ts",
"AGENTS.md",
"MEMORY.md",
"tests/fixtures/",
"tests/visual_audit.rs",
"benches/",
"scripts/",
"docs/",
"deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "termiflow"
description = "Terminal-native Mermaid flowchart renderer — jq for diagrams"
homepage = "https://github.com/dnvt/termiflow"
documentation = "https://github.com/dnvt/termiflow/blob/main/docs/reference.md"
readme = "README.md"
keywords = [
"mermaid",
"diagram",
"terminal",
"cli",
"ascii",
]
categories = [
"command-line-utilities",
"visualization",
]
license = "MIT"
repository = "https://github.com/dnvt/termiflow"
[features]
golden = []
[lib]
name = "termiflow"
path = "src/lib.rs"
[[bin]]
name = "termiflow"
path = "src/bin/termiflow.rs"
[[bin]]
name = "tw"
path = "src/bin/tw.rs"
[[test]]
name = "cli_flags"
path = "tests/cli_flags.rs"
[[test]]
name = "clipping_warning"
path = "tests/clipping_warning.rs"
[[test]]
name = "default_print"
path = "tests/default_print.rs"
[[test]]
name = "fuzz_smoke"
path = "tests/fuzz_smoke.rs"
[[test]]
name = "geometry_trace"
path = "tests/geometry_trace.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "json_input"
path = "tests/json_input.rs"
[[test]]
name = "render_options_api"
path = "tests/render_options_api.rs"
[[test]]
name = "render_options_defaults"
path = "tests/render_options_defaults.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.crossterm]
version = "0.29"
[dependencies.dirs]
version = "6"
[dependencies.lazy_static]
version = "1.5"
[dependencies.ratatui]
version = "0.30"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.toml]
version = "1"
[dependencies.unicode-segmentation]
version = "1.13"
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.predicates]
version = "3"
[profile.release]
lto = true
codegen-units = 1
strip = true