[package]
edition = "2024"
rust-version = "1.89"
name = "brok-cli"
version = "0.2.4"
authors = ["Brokspace contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Brokspace: local-first knowledge index and event-driven agents for your workspace"
readme = "README.md"
keywords = [
"rag",
"code-search",
"agents",
"embeddings",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/brokspace/brok"
[features]
ast = ["brok-index/ast"]
coreml = ["brok-index/coreml"]
cuda = ["brok-index/cuda"]
default = [
"ast",
"lancedb",
"onnx",
]
directml = ["brok-index/directml"]
lancedb = ["brok-index/lancedb"]
onnx = ["brok-index/onnx"]
[[bin]]
name = "brok"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.brok-bus]
version = "0.2.4"
[dependencies.brok-core]
version = "0.2.4"
[dependencies.brok-index]
version = "0.2.4"
default-features = false
[dependencies.brok-sdk]
version = "0.1.2"
[dependencies.brok-shard]
version = "0.2.4"
[dependencies.brok-skills]
version = "0.2.4"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
"wrap_help",
]
[dependencies.clap_complete]
version = "4.5"
[dependencies.console]
version = "0.16"
[dependencies.dialoguer]
version = "0.12"
default-features = false
[dependencies.indicatif]
version = "0.18"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
"native-tls",
"http2",
"charset",
]
default-features = false
[dependencies.semver]
version = "1.0"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sysinfo]
version = "0.36"
features = ["system"]
default-features = false
[dependencies.tokio]
version = "1.47"
features = [
"fs",
"io-std",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
features = [
"codec",
"rt",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dev-dependencies.tempfile]
version = "3.20"
[build-dependencies.embed-manifest]
version = "1.4"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_System_Console",
]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1