# 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"
rust-version = "1.89.0"
name = "mdv"
version = "3.0.0"
authors = ["WhoSowSee"]
build = false
exclude = [
    "docs/images",
    ".github",
    "snap",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal Markdown Viewer"
readme = "README.md"
keywords = [
    "markdown",
    "terminal",
    "viewer",
    "cli",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/WhoSowSee/mdv"

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.clap]
version = "4.5.49"
features = [
    "derive",
    "color",
]

[dependencies.comfy-table]
version = "7.2.1"

[dependencies.crossterm]
version = "0.29.0"

[dependencies.dirs]
version = "6.0.0"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.log]
version = "0.4.28"

[dependencies.notify]
version = "8.2.0"

[dependencies.once_cell]
version = "1.21.3"

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

[dependencies.regex]
version = "1.12.2"

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

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.syntect]
version = "5.3.0"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.unicode-width]
version = "0.2.2"

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

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

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

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
