# 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.85"
name = "tmdp"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal Markdown Preview — render markdown with Mermaid diagrams, math equations, and syntax highlighting in your terminal"
readme = "README.md"
keywords = [
    "markdown",
    "terminal",
    "preview",
    "mermaid",
    "tui",
]
categories = [
    "command-line-utilities",
    "text-processing",
    "visualization",
]
license = "MIT"
repository = "https://github.com/subinium/terminal-markdown-preview"

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

[dependencies.base64]
version = "0.22"

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

[dependencies.comrak]
version = "0.52"
default-features = false

[dependencies.crossterm]
version = "0.28"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dependencies.mermaid-rs-renderer]
version = "0.2"
default-features = false

[dependencies.notify]
version = "8"

[dependencies.resvg]
version = "0.47"

[dependencies.superlighttui]
version = "0.17"
features = [
    "image",
    "kitty-compress",
    "syntax-rust",
    "syntax-python",
    "syntax-javascript",
    "syntax-typescript",
    "syntax-go",
    "syntax-bash",
    "syntax-json",
    "syntax-yaml",
    "syntax-c",
    "syntax-cpp",
    "syntax-java",
    "syntax-css",
    "syntax-html",
    "syntax-toml",
]

[profile.release]
opt-level = 3
lto = true
