[package]
name = "markless"
version = "0.9.21"
edition = "2024"
authors = ["Josh V"]
description = "A terminal markdown viewer with image support"
license = "MIT"
readme = "README.md"
repository = "https://github.com/jvanderberg/markless"
keywords = ["markdown", "tui", "terminal", "viewer", "pager"]
categories = ["command-line-utilities", "text-processing"]
[dependencies]
ratatui = "0.30"
crossterm = "0.29"
comrak = { version = "0.31", default-features = false, features = ["shortcodes"] }
csv = "1"
ratatui-image = { version = "10", default-features = false, features = ["image-defaults", "crossterm"] }
image = "0.25"
mermaid-rs-renderer = { version = "0.2", default-features = false }
resvg = "0.44"
syntect = { version = "5", default-features = false, features = ["default-fancy"] }
clap = { version = "4", features = ["derive"] }
anyhow = "1"
base64 = "0.22"
notify = "7"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
unicode-width = "0.2"
ropey = "1.6.1"
[dev-dependencies]
proptest = "1"
tempfile = "3"
criterion = "0.5"
[[bench]]
name = "parsing"
harness = false
[[bench]]
name = "rendering"
harness = false
[features]
default = ["sixel", "kitty"]
sixel = []
kitty = []
[lints.rust]
unsafe_code = "deny"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
struct_excessive_bools = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = true