[package]
edition = "2024"
rust-version = "1.89"
name = "mdtablefix"
version = "0.6.1"
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]
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 = "bdd_reporting"
path = "tests/bdd_reporting.rs"
[[test]]
name = "breaks"
path = "tests/breaks.rs"
[[test]]
name = "check_prediction"
path = "tests/check_prediction.rs"
[[test]]
name = "check_properties"
path = "tests/check_properties.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cli_check"
path = "tests/cli_check.rs"
[[test]]
name = "cli_diff"
path = "tests/cli_diff.rs"
[[test]]
name = "cli_fences"
path = "tests/cli_fences.rs"
[[test]]
name = "cli_frontmatter"
path = "tests/cli_frontmatter.rs"
[[test]]
name = "cli_frontmatter_snapshots"
path = "tests/cli_frontmatter_snapshots.rs"
[[test]]
name = "cli_git"
path = "tests/cli_git.rs"
[[test]]
name = "cli_matrix"
path = "tests/cli_matrix.rs"
[[test]]
name = "code_emphasis"
path = "tests/code_emphasis.rs"
[[test]]
name = "codescene_environment"
path = "tests/codescene_environment.rs"
[[test]]
name = "codescene_uploader_contract"
path = "tests/codescene_uploader_contract.rs"
[[test]]
name = "compile"
path = "tests/compile.rs"
[[test]]
name = "coverage_workflows"
path = "tests/coverage_workflows.rs"
[[test]]
name = "document_properties"
path = "tests/document_properties.rs"
[[test]]
name = "env_access_enforcement"
path = "tests/env_access_enforcement.rs"
[[test]]
name = "env_access_policy"
path = "tests/env_access_policy.rs"
[[test]]
name = "env_access_suppressions"
path = "tests/env_access_suppressions.rs"
[[test]]
name = "env_access_workflow"
path = "tests/env_access_workflow.rs"
[[test]]
name = "fences"
path = "tests/fences.rs"
[[test]]
name = "footnotes"
path = "tests/footnotes.rs"
[[test]]
name = "git_file_selection"
path = "tests/git_file_selection.rs"
[[test]]
name = "html_snapshots"
path = "tests/html_snapshots.rs"
[[test]]
name = "idempotence"
path = "tests/idempotence.rs"
[[test]]
name = "idempotence_adjacencies"
path = "tests/idempotence_adjacencies.rs"
[[test]]
name = "idempotence_drift"
path = "tests/idempotence_drift.rs"
[[test]]
name = "idempotence_properties"
path = "tests/idempotence_properties.rs"
[[test]]
name = "in_place_atomic"
path = "tests/in_place_atomic.rs"
[[test]]
name = "issue_507_bracket_label_wrap_is_idempotent"
path = "tests/issue_507_bracket_label_wrap_is_idempotent.rs"
[[test]]
name = "issue_561_wrap_never_breaks_without_whitespace"
path = "tests/issue_561_wrap_never_breaks_without_whitespace.rs"
[[test]]
name = "issue_562_setext_headings_survive_wrap_and_breaks"
path = "tests/issue_562_setext_headings_survive_wrap_and_breaks.rs"
[[test]]
name = "issue_573_renumber_paragraph_continuation"
path = "tests/issue_573_renumber_paragraph_continuation.rs"
[[test]]
name = "leading_indent_snapshots"
path = "tests/leading_indent_snapshots.rs"
[[test]]
name = "line_endings"
path = "tests/line_endings.rs"
[[test]]
name = "lint_policy_properties"
path = "tests/lint_policy_properties.rs"
[[test]]
name = "lint_policy_readers"
path = "tests/lint_policy_readers.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 = "process_frontmatter_props"
path = "tests/process_frontmatter_props.rs"
[[test]]
name = "process_frontmatter_snapshots"
path = "tests/process_frontmatter_snapshots.rs"
[[test]]
name = "reference_link_properties"
path = "tests/reference_link_properties.rs"
[[test]]
name = "release_packaging"
path = "tests/release_packaging.rs"
[[test]]
name = "release_workflow"
path = "tests/release_workflow.rs"
[[test]]
name = "rewrite_atomic"
path = "tests/rewrite_atomic.rs"
[[test]]
name = "static_regex_lint"
path = "tests/static_regex_lint.rs"
[[test]]
name = "table_continuations"
path = "tests/table_continuations.rs"
[[test]]
name = "table_regressions"
path = "tests/table_regressions.rs"
[[test]]
name = "textproc_properties"
path = "tests/textproc_properties.rs"
[[test]]
name = "verus_harness"
path = "tests/verus_harness.rs"
[[test]]
name = "workflow_concurrency"
path = "tests/workflow_concurrency.rs"
[[test]]
name = "wrap"
path = "tests/wrap.rs"
[[test]]
name = "wrap_cli"
path = "tests/wrap_cli.rs"
[[test]]
name = "wrap_code_span_reflow_properties"
path = "tests/wrap_code_span_reflow_properties.rs"
[[test]]
name = "wrap_leading_spaces"
path = "tests/wrap_leading_spaces.rs"
[[test]]
name = "wrap_properties"
path = "tests/wrap_properties.rs"
[[test]]
name = "wrap_renumber"
path = "tests/wrap_renumber.rs"
[[test]]
name = "wrap_unit"
path = "tests/wrap_unit.rs"
[dependencies.anyhow]
version = "1"
[dependencies.camino]
version = "1.2.4"
[dependencies.cap-std]
version = "4.0.2"
features = ["fs_utf8"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.html5ever]
version = "0.39.0"
[dependencies.markup5ever_rcdom]
version = "0.39.0"
[dependencies.metrics]
version = "0.24"
[dependencies.once_cell]
version = "1"
[dependencies.rayon]
version = "1.11"
[dependencies.regex]
version = "1"
[dependencies.similar]
version = "3.2"
[dependencies.textwrap]
version = "0.16.2"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.googletest]
version = "0.14"
[dev-dependencies.insta]
version = "1.47"
[dev-dependencies.libc]
version = "0.2.174"
[dev-dependencies.metrics-util]
version = "0.20"
features = ["debugging"]
default-features = false
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.proc-macro2]
version = "1.0.106"
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.rstest]
version = "0.27"
[dev-dependencies.rstest-bdd]
version = "0.6.0"
[dev-dependencies.rstest-bdd-macros]
version = "0.6.0"
features = ["strict-compile-time-validation"]
[dev-dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.syn]
version = "3.0.3"
features = [
"full",
"visit",
"extra-traits",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.toml]
version = "1.1.2"
[dev-dependencies.tracing-test]
version = "0.2"
[dev-dependencies.trybuild]
version = "1"
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
disallowed_methods = "deny"
missing_docs_in_private_items = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(verus_keep_ghost)"]