markless 0.9.23

A terminal markdown viewer with image support
Documentation
# 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 = "markless"
version = "0.9.23"
authors = ["Josh V"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal markdown viewer with image support"
readme = "README.md"
keywords = [
    "markdown",
    "tui",
    "terminal",
    "viewer",
    "pager",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/jvanderberg/markless"

[features]
default = [
    "sixel",
    "kitty",
]
kitty = []
sixel = []

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

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

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

[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false

[[bench]]
name = "rendering"
path = "benches/rendering.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

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

[dependencies.crossterm]
version = "0.29"

[dependencies.csv]
version = "1"

[dependencies.image]
version = "0.25"

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

[dependencies.mitex]
version = "0.2"

[dependencies.notify]
version = "7"

[dependencies.ratatui]
version = "0.30"

[dependencies.ratatui-image]
version = "10"
features = [
    "image-defaults",
    "crossterm",
]
default-features = false

[dependencies.resvg]
version = "0.44"

[dependencies.ropey]
version = "1.6.1"

[dependencies.syntect]
version = "5"
features = ["default-fancy"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.typst]
version = "0.14"

[dependencies.typst-assets]
version = "0.14"
features = ["fonts"]

[dependencies.typst-svg]
version = "0.14"

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

[dependencies.unicodeit]
version = "0.2"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.mitex-spec]
version = "0.2"

[dev-dependencies.mitex-spec-gen]
version = "0.2"

[dev-dependencies.proptest]
version = "1"

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

[lints.clippy]
module_name_repetitions = "allow"
must_use_candidate = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"

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