[package]
authors.workspace = true
categories.workspace = true
description = "Command-line delivery for mdwright"
edition.workspace = true
keywords.workspace = true
license.workspace = true
name = "mdwright"
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[package.metadata.binstall]
bin-dir = "mdwright-{ target }/mdwright"
pkg-fmt = "txz"
pkg-url = "{ repo }/releases/download/v{ version }/mdwright-{ target }.tar.xz"

[[bin]]
name = "mdwright"
path = "src/bin/mdwright.rs"

[dependencies]
anyhow = { workspace = true }
clap = { workspace = true }
ignore = { workspace = true }
mdwright-config = { workspace = true }
mdwright-document = { workspace = true }
mdwright-format = { workspace = true }
mdwright-latex = { workspace = true }
mdwright-lint = { workspace = true }
mdwright-lsp = { workspace = true }
mdwright-math = { workspace = true }
opener = { workspace = true }
owo-colors = { workspace = true }
pulldown-cmark = { workspace = true, default-features = false }
rayon = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
similar = { workspace = true }
strsim = { workspace = true }
syntect = { workspace = true }
tempfile = { workspace = true }
tokio = { workspace = true }
tracing-subscriber = { workspace = true }

[dev-dependencies]
anyhow = { workspace = true }
criterion = { version = "0.5", features = ["html_reports"] }
mdwright-lsp = { workspace = true }
proptest = { workspace = true }
pulldown-cmark = { workspace = true, default-features = false }
rayon = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tempfile = { workspace = true }
tokio = { workspace = true }
toml = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
walkdir = "2"
xtask = { workspace = true }

[[bench]]
harness = false
name = "lint_bench"

[[bench]]
harness = false
name = "format_bench"

[[bench]]
harness = false
name = "incremental"

[[bench]]
harness = false
name = "parse_format"

[lints]
workspace = true
