[package]
edition = "2024"
name = "blz-cli"
version = "2.0.0-beta.1"
authors = ["Outfitter Dev"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for blz – fast local llms.txt search"
readme = false
license = "MIT"
resolver = "2"
[features]
anchors = []
dev-profile = []
flamegraph = [
"dep:pprof",
"blz-core/flamegraph",
]
[lib]
name = "blz_cli"
path = "src/lib.rs"
doctest = false
[[bin]]
name = "blz"
path = "src/main.rs"
[[bin]]
name = "blz-dev"
path = "src/bin/blz-dev.rs"
required-features = ["dev-profile"]
[[test]]
name = "alias_add_rm"
path = "tests/alias_add_rm.rs"
[[test]]
name = "alias_resolver_update_remove"
path = "tests/alias_resolver_update_remove.rs"
[[test]]
name = "anchor_get"
path = "tests/anchor_get.rs"
[[test]]
name = "anchors_e2e"
path = "tests/anchors_e2e.rs"
[[test]]
name = "batch_get"
path = "tests/batch_get.rs"
[[test]]
name = "format_alias"
path = "tests/format_alias.rs"
[[test]]
name = "get_block"
path = "tests/get_block.rs"
[[test]]
name = "get_context_all_single_line"
path = "tests/get_context_all_single_line.rs"
[[test]]
name = "history"
path = "tests/history.rs"
[[test]]
name = "info_headings"
path = "tests/info_headings.rs"
[[test]]
name = "instruct_smoke"
path = "tests/instruct_smoke.rs"
[[test]]
name = "integration_find"
path = "tests/integration_find.rs"
[[test]]
name = "language_filter"
path = "tests/language_filter.rs"
[[test]]
name = "list_status_json"
path = "tests/list_status_json.rs"
[[test]]
name = "pipe_detection"
path = "tests/pipe_detection.rs"
[[test]]
name = "preflight_more"
path = "tests/preflight_more.rs"
[[test]]
name = "preflight_negative"
path = "tests/preflight_negative.rs"
[[test]]
name = "score_display"
path = "tests/score_display.rs"
[[test]]
name = "search_context_block"
path = "tests/search_context_block.rs"
[[test]]
name = "search_json"
path = "tests/search_json.rs"
[[test]]
name = "search_next_flag"
path = "tests/search_next_flag.rs"
[[test]]
name = "search_pagination"
path = "tests/search_pagination.rs"
[[test]]
name = "search_phrase"
path = "tests/search_phrase.rs"
[[test]]
name = "search_previous_flag"
path = "tests/search_previous_flag.rs"
[[test]]
name = "shorthand_context_flags"
path = "tests/shorthand_context_flags.rs"
[[test]]
name = "source_searchability"
path = "tests/source_searchability.rs"
[[test]]
name = "toc_enhanced"
path = "tests/toc_enhanced.rs"
[[test]]
name = "toc_pagination"
path = "tests/toc_pagination.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.blz-core]
version = "2.0.0-beta.1"
[dependencies.blz-mcp]
version = "2.0.0-beta.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.clap_complete]
version = "4"
[dependencies.colored]
version = "2"
[dependencies.directories]
version = "6"
[dependencies.fs2]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.fuzzy-matcher]
version = "0.3"
[dependencies.indicatif]
version = "0.17"
[dependencies.inquire]
version = "0.9"
[dependencies.is-terminal]
version = "0.4"
[dependencies.once_cell]
version = "1"
[dependencies.pprof]
version = "0.15"
features = [
"flamegraph",
"protobuf-codec",
]
optional = true
[dependencies.reqwest]
version = "0.12"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sysinfo]
version = "0.32"
[dependencies.terminal_size]
version = "0.4"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dependencies.toml_edit]
version = "0.22"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
"fmt",
"json",
]
[dependencies.unicode-width]
version = "0.2"
[dependencies.url]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.regex]
version = "1.11"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
cargo_common_metadata = "allow"
expect_used = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "warn"
unimplemented = "warn"
unwrap_used = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.todo]
level = "warn"
priority = 1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"