Skip to main content

llmtrim/
lib.rs

1//! llmtrim CLI/proxy — the user-facing surface over the [`llmtrim_core`] engine.
2//!
3//! This crate owns everything the embeddable core deliberately excludes: the
4//! command-line interface (`main.rs`), the MITM interceptor (`serve`), the local
5//! daemon/autostart/setup machinery, the SQLite token ledger (`tracking`), the live
6//! A/B benchmark + quality harness, and the terminal UI. The compression itself lives
7//! in `llmtrim_core` and is called through its public `compress*` API.
8
9pub mod autostart;
10pub mod bench;
11#[cfg(feature = "breakdown")]
12pub mod breakdown;
13#[cfg(feature = "intercept")]
14pub mod compact;
15pub mod daemon;
16pub mod discover;
17pub mod doctor;
18pub mod ensure;
19pub mod guard;
20pub mod mcp;
21pub mod monitor;
22pub mod quality;
23pub mod recall;
24#[cfg(feature = "intercept")]
25pub mod reroute;
26#[cfg(feature = "intercept")]
27pub mod route_agents;
28pub mod serve;
29pub mod setup;
30pub mod statusline;
31pub mod tracking;
32pub mod transport;
33pub mod tray;
34pub mod ui;
35pub mod update;
36pub mod window_sub;
37pub mod wrap;