# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "markdownlint-rs"
version = "0.3.0"
authors = ["Simon Swanson"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files"
readme = "README.md"
keywords = [
    "cli",
    "formatter",
    "lint",
    "markdown",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/swanysimon/mdlint"

[lib]
name = "mdlint"
path = "src/lib.rs"

[[bin]]
name = "mdlint"
path = "src/main.rs"

[[test]]
name = "formatter"
path = "tests/formatter.rs"

[[test]]
name = "formatter_proptest"
path = "tests/formatter_proptest.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "proptest"
path = "tests/proptest.rs"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.pulldown-cmark]
version = "0.13.0"

[dependencies.regex]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml]
version = "0.8"

[dev-dependencies.proptest]
version = "1.6"

[dev-dependencies.tempfile]
version = "3.14"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
