[package]
edition = "2021"
rust-version = "1.85.0"
name = "batless"
version = "0.5.0"
authors = ["Thomas <thomas@docdyhr.com>"]
build = "build.rs"
exclude = [
"target/",
"*.tmp",
"test_file*.txt",
"demo_output.txt",
".github/",
"demo.sh",
"fuzz/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A non-blocking, LLM-friendly code viewer inspired by bat"
homepage = "https://github.com/docdyhr/batless"
documentation = "https://docs.rs/batless"
readme = "README.md"
keywords = [
"cli",
"syntax-highlighting",
"code-viewer",
"ai",
"automation",
]
categories = [
"command-line-utilities",
"development-tools",
"text-processing",
]
license = "MIT"
repository = "https://github.com/docdyhr/batless"
[lib]
name = "batless"
path = "src/lib.rs"
[[bin]]
name = "batless"
path = "src/main.rs"
[[example]]
name = "theme-showcase"
path = "examples/theme-showcase.rs"
[[test]]
name = "ast_summarizer_js_ts_test"
path = "tests/ast_summarizer_js_ts_test.rs"
[[test]]
name = "ast_summarizer_python_test"
path = "tests/ast_summarizer_python_test.rs"
[[test]]
name = "ast_summarizer_test"
path = "tests/ast_summarizer_test.rs"
[[test]]
name = "cli_coverage_tests"
path = "tests/cli_coverage_tests.rs"
[[test]]
name = "cli_documentation_tests"
path = "tests/cli_documentation_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "streaming_coverage_tests"
path = "tests/streaming_coverage_tests.rs"
[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4.6"
[dependencies.dirs]
version = "5.0"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.is-terminal]
version = "0.4"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.strip-ansi-escapes]
version = "0.2"
[dependencies.syntect]
version = "5"
features = [
"parsing",
"default-syntaxes",
"default-themes",
"html",
"dump-load",
"regex-onig",
]
default-features = false
[dependencies.termcolor]
version = "1.4"
[dependencies.toml]
version = "1.1"
[dependencies.tree-sitter]
version = "0.26"
[dependencies.tree-sitter-javascript]
version = "0.25"
[dependencies.tree-sitter-python]
version = "0.25"
[dependencies.tree-sitter-rust]
version = "0.24"
[dependencies.tree-sitter-typescript]
version = "0.23"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.11"
features = ["std"]
default-features = false
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.27"