# 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 = "smdr"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple Markdown Reader — a fast, native markdown viewer with vim-style navigation, live reload, and 22 themes"
homepage = "https://github.com/santanusinha/smdr"
documentation = "https://docs.rs/smdr"
readme = "README.md"
keywords = [
    "markdown",
    "viewer",
    "iced",
    "reader",
    "terminal",
]
categories = [
    "command-line-utilities",
    "gui",
    "visualization",
]
license = "MIT"
repository = "https://github.com/santanusinha/smdr"

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

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

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

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

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

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

[dependencies.iced]
version = "0.14"
features = [
    "markdown",
    "highlighter",
    "tokio",
    "wgpu",
    "wayland",
    "x11",
    "svg",
    "image",
]

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

[dependencies.notify]
version = "9.0.0-rc.4"

[dependencies.open]
version = "5"

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

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

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

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

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

[profile.release]
opt-level = "s"
lto = true
strip = true
