[package]
name = "rtb-docs"
description = "Interactive docs browser, embedded-HTML docs-serve server, and AI Q&A seam. Part of the phpboyscout Rust toolkit."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
readme.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/rtb-docs"
categories = ["command-line-interface", "text-processing"]
keywords = ["docs", "tui", "markdown", "search", "cli"]
[lints]
workspace = true
[features]
default = []
ai = ["dep:rtb-chat", "dep:futures-util", "dep:secrecy"]
[dependencies]
rtb-app = { version = "0.9.2" }
rtb-assets = { version = "0.6.5" }
rtb-chat = { version = "0.7.4", optional = true }
ratatui = "0.30.2"
crossterm = "0.29.0"
tui-markdown = "0.3.12"
pulldown-cmark = { version = "0.13.5", default-features = false, features = ["html"] }
fuzzy-matcher = "0.3.7"
axum = { version = "0.8.9", default-features = false, features = ["tokio", "http1", "query", "json"] }
tower = "0.5.3"
tantivy = "0.27.0"
tokio = { version = "1.54.1", features = ["full"] }
tokio-util = { version = "0.7.20", features = ["rt"] }
async-trait = "0.1.92"
miette = { version = "7.6.0", features = ["fancy"] }
thiserror = "2.0.21"
serde = { version = "1.0.229", features = ["derive"] }
serde-saphyr = { version = "1.3.0", default-features = false, features = ["deserialize"] }
serde_json = "1.0.154"
linkme = "0.3.37"
clap = { version = "4.6.7", features = ["derive", "env", "wrap_help", "string"] }
futures-core = "0.3.34"
futures-util = { version = "0.3.34", optional = true }
secrecy = { version = "0.10.3", optional = true }
[dev-dependencies]
reqwest = { version = "0.13.5", default-features = false, features = ["rustls", "json", "stream", "gzip"] }