# 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 = "2021"
rust-version = "1.85"
name = "tess-cli"
version = "0.58.1"
authors = ["Thomas Björk <codedv8@gmail.com>"]
build = false
exclude = [
    "tess-*.tar.gz",
    ".claude/",
    ".github/",
    ".git/",
    ".idea/",
    "/.gitignore",
    "OUT-OF-SCOPE.md",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A less-style terminal pager for files, pipes, and live logs — with structured-log filtering, pretty-printing (JSON/YAML/TOML/XML/HTML/CSV), ANSI passthrough, multi-file navigation, and ctags jumping. Rust, macOS + Linux."
homepage = "https://github.com/codedeviate/tess"
documentation = "https://github.com/codedeviate/tess/blob/master/MANUAL.md"
readme = "README.md"
keywords = [
    "pager",
    "less",
    "log",
    "tail",
    "terminal",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/codedeviate/tess"

[features]
default = ["image"]
image = ["dep:image"]

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

[[bin]]
name = "gen-manpage"
path = "src/bin/gen-manpage.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clap_mangen]
version = "0.2"

[dependencies.colored]
version = "2"

[dependencies.crossterm]
version = "0.27"
features = ["use-dev-tty"]

[dependencies.csv]
version = "1"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "gif",
    "bmp",
    "webp",
    "tiff",
    "tga",
    "ico",
    "pnm",
]
optional = true
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.memmap2]
version = "0.9"

[dependencies.quick-xml]
version = "0.36"
features = ["serialize"]

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yml]
version = "0.0.12"

[dependencies.signal-hook]
version = "0.3"

[dependencies.similar]
version = "2"
features = ["unicode"]

[dependencies.toml]
version = "0.8"

[dependencies.unicode-segmentation]
version = "1"

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

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

[dev-dependencies.expectrl]
version = "0.7"

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

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

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