[package]
edition = "2024"
rust-version = "1.88"
name = "lini"
version = "0.22.0"
build = false
exclude = ["assets/fonts/raw"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pretty diagrams, charts, and technical drawings from plain text, with fine-grained control. Compiles to clean, themeable SVG."
homepage = "https://github.com/monfa-red/lini"
documentation = "https://docs.rs/lini"
readme = "README.md"
keywords = [
"diagram",
"svg",
"dsl",
"diagrams-as-code",
"graph",
]
categories = [
"command-line-utilities",
"visualization",
]
license = "MIT"
repository = "https://github.com/monfa-red/lini"
[features]
default = [
"icons",
"font",
]
font = ["dep:ttf-parser"]
icons = []
[lib]
name = "lini"
path = "src/lib.rs"
[[bin]]
name = "lini"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "desugar"
path = "tests/desugar.rs"
[[test]]
name = "fmt"
path = "tests/fmt.rs"
[[test]]
name = "hello"
path = "tests/hello.rs"
[[test]]
name = "laws"
path = "tests/laws.rs"
[[test]]
name = "oracle"
path = "tests/oracle.rs"
[[test]]
name = "parsing"
path = "tests/parsing.rs"
[[test]]
name = "rendering"
path = "tests/rendering.rs"
[[test]]
name = "resolution"
path = "tests/resolution.rs"
[[test]]
name = "routing"
path = "tests/routing.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.ttf-parser]
version = "0.25"
optional = true
[dev-dependencies.insta]
version = "1.47"
features = ["glob"]
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"