[package]
edition = "2024"
rust-version = "1.89"
name = "mdtablefix"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "`mdtablefix` unb0rks and reflows Markdown tables so that each column has a uniform width. When the `--wrap` option is used, it also wraps paragraphs and list items to 80 columns."
readme = "README.md"
license = "ISC"
repository = "https://github.com/leynos/mdtablefix"
[package.metadata.binstall.overrides.'cfg(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "aarch64"), target_env = "gnu"))']
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[lib]
name = "mdtablefix"
path = "src/lib.rs"
[[bin]]
name = "mdtablefix"
path = "src/main.rs"
[[test]]
name = "breaks"
path = "tests/breaks.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cli_frontmatter"
path = "tests/cli_frontmatter.rs"
[[test]]
name = "code_emphasis"
path = "tests/code_emphasis.rs"
[[test]]
name = "fences"
path = "tests/fences.rs"
[[test]]
name = "footnotes"
path = "tests/footnotes.rs"
[[test]]
name = "lists"
path = "tests/lists.rs"
[[test]]
name = "markdownlint"
path = "tests/markdownlint.rs"
[[test]]
name = "parallel"
path = "tests/parallel.rs"
[[test]]
name = "process_frontmatter"
path = "tests/process_frontmatter.rs"
[[test]]
name = "wrap_renumber"
path = "tests/wrap_renumber.rs"
[[test]]
name = "wrap_unit"
path = "tests/wrap_unit.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.html5ever]
version = "0.27"
[dependencies.markup5ever_rcdom]
version = "0.3"
[dependencies.once_cell]
version = "1"
[dependencies.rayon]
version = "1.11"
[dependencies.regex]
version = "1"
[dependencies.unicode-width]
version = "0.1"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.libc]
version = "0.2.174"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
pedantic = "warn"