[package]
edition = "2024"
rust-version = "1.85"
name = "flowmark"
version = "0.2.6"
build = "build.rs"
exclude = [
".claude/",
".tbd/",
".github/",
"docs/",
"python/",
"tests/tryscript/",
"repos/",
"admin/",
"attic/",
"pyproject.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Markdown auto-formatter for clean diffs and semantic line breaks"
documentation = "https://docs.rs/flowmark"
readme = "README.md"
keywords = [
"markdown",
"formatter",
"cli",
"semantic-linebreaks",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT"
repository = "https://github.com/jlevy/flowmark-rs"
[package.metadata.parity]
version = "0.6.4"
[features]
cli = [
"clap",
"anyhow",
"rayon",
]
default = ["cli"]
[lib]
name = "flowmark"
path = "src/lib.rs"
[[bin]]
name = "flowmark"
path = "src/main.rs"
required-features = ["cli"]
[[bin]]
name = "flowmark-rs"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "test_alerts"
path = "tests/test_alerts.rs"
[[test]]
name = "test_cleanups"
path = "tests/test_cleanups.rs"
[[test]]
name = "test_cli_file_discovery"
path = "tests/test_cli_file_discovery.rs"
[[test]]
name = "test_config"
path = "tests/test_config.rs"
[[test]]
name = "test_edge_cases"
path = "tests/test_edge_cases.rs"
[[test]]
name = "test_ellipses"
path = "tests/test_ellipses.rs"
[[test]]
name = "test_escape_handling"
path = "tests/test_escape_handling.rs"
[[test]]
name = "test_fenced_code_blocks"
path = "tests/test_fenced_code_blocks.rs"
[[test]]
name = "test_file_resolver"
path = "tests/test_file_resolver.rs"
[[test]]
name = "test_filling"
path = "tests/test_filling.rs"
[[test]]
name = "test_frontmatter"
path = "tests/test_frontmatter.rs"
[[test]]
name = "test_heading_spacing"
path = "tests/test_heading_spacing.rs"
[[test]]
name = "test_incremental_cache"
path = "tests/test_incremental_cache.rs"
[[test]]
name = "test_list_spacing"
path = "tests/test_list_spacing.rs"
[[test]]
name = "test_parity_cross_binary"
path = "tests/test_parity_cross_binary.rs"
[[test]]
name = "test_parity_discrepancies"
path = "tests/test_parity_discrepancies.rs"
[[test]]
name = "test_parity_golden"
path = "tests/test_parity_golden.rs"
[[test]]
name = "test_parity_red_green"
path = "tests/test_parity_red_green.rs"
[[test]]
name = "test_ref_docs"
path = "tests/test_ref_docs.rs"
[[test]]
name = "test_sentences"
path = "tests/test_sentences.rs"
[[test]]
name = "test_skill"
path = "tests/test_skill.rs"
[[test]]
name = "test_smartquotes"
path = "tests/test_smartquotes.rs"
[[test]]
name = "test_strikethrough"
path = "tests/test_strikethrough.rs"
[[test]]
name = "test_tag_formatting"
path = "tests/test_tag_formatting.rs"
[[test]]
name = "test_tryscript_golden"
path = "tests/test_tryscript_golden.rs"
[[test]]
name = "test_version"
path = "tests/test_version.rs"
[[test]]
name = "test_version_meta"
path = "tests/test_version_meta.rs"
[[test]]
name = "test_width_options"
path = "tests/test_width_options.rs"
[[test]]
name = "test_wrapping"
path = "tests/test_wrapping.rs"
[dependencies.anyhow]
version = "1.0"
optional = true
[dependencies.clap]
version = "4.5"
features = [
"derive",
"cargo",
]
optional = true
[dependencies.comrak]
version = "0.50"
[dependencies.dirs]
version = "6.0"
[dependencies.glob]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.rayon]
version = "1.11"
optional = true
[dependencies.regex]
version = "1.12"
[dependencies.tempfile]
version = "3.26"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "1.0"
[build-dependencies.toml]
version = "1.0"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "deny"
warnings = "deny"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true