# 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 = "mdsf"
version = "0.10.5"
authors = ["Mads Hougesen <mads@mhouge.dk>"]
build = false
exclude = ["codegen/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "mdsf"
description = "Format, and lint, markdown code snippets using your favorite tools"
homepage = "https://github.com/hougesen/mdsf?tab=readme-ov-file"
documentation = "https://github.com/hougesen/mdsf#readme"
readme = "README.md"
keywords = [
    "code-formatter",
    "formatter",
    "linter",
    "markdown",
    "pretty-printing",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/hougesen/mdsf"

[package.metadata.wix]
eula = false
license = false
path-guid = "500835C2-981A-4C1F-9A6F-36EC4D194212"
upgrade-guid = "A0250526-8295-4489-AD3B-924CBD3EE2E7"

[features]
default = []
json-schema = ["dep:schemars"]

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

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

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

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

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

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

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

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

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

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

[dependencies.clap_complete]
version = "4.5.57"

[dependencies.clap_complete_nushell]
version = "4.5.8"

[dependencies.directories]
version = "6.0.0"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.ignore]
version = "0.4.23"

[dependencies.json_comments]
version = "0.2.2"

[dependencies.log]
version = "0.4.27"

[dependencies.owo-colors]
version = "4.2.2"
features = ["supports-colors"]

[dependencies.process_control]
version = "5.1.1"

[dependencies.regex]
version = "1.11.1"

[dependencies.schemars]
version = "1.0.4"
optional = true

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

[dependencies.serde_json]
version = "1.0.143"

[dependencies.sha2]
version = "0.10.9"

[dependencies.tempfile]
version = "3.21.0"

[dependencies.terminal_size]
version = "0.4.3"

[dependencies.threadpool]
version = "1.8.1"

[dependencies.which]
version = "8.0.0"

[dev-dependencies.assert_cmd]
version = "2.0.17"

[dev-dependencies.predicates]
version = "3.1.3"

[dev-dependencies.test-with]
version = "0.14.11"
features = ["executable"]
default-features = false
