# 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 = "fmtview"
version = "0.5.0"
build = false
exclude = [
    ".github/",
    "npm/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast CLI viewer for highlighting, search, and diffs across JSON, JSONL, markup, Markdown, TOML, text, and Jinja"
readme = "README.md"
keywords = [
    "json",
    "jsonl",
    "markdown",
    "toml",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/siriusctrl/fmtview"

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

[[bin]]
name = "fmtview"
path = "src/bin/fmtview.rs"

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.crossterm]
version = "0.29.0"

[dependencies.memchr]
version = "2.8.0"

[dependencies.quick-xml]
version = "0.39.2"

[dependencies.ratatui]
version = "0.30.0"
features = ["crossterm"]
default-features = false

[dependencies.tempfile]
version = "3.27.0"

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

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

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