mermaid_cli/lib.rs
1pub mod app;
2pub mod cli;
3pub mod clipboard;
4pub mod effect;
5pub mod mcp;
6pub mod ollama;
7pub mod providers;
8pub mod render;
9pub mod runtime_client;
10pub mod searxng;
11pub mod session;
12
13// `constants`, `models`, and `utils` live in the `mermaid-model` crate; the
14// durable runtime services live in `mermaid-runtime`. Both are named directly
15// at every call site rather than re-exported under a `crate::`-local alias.
16//
17// The aliases used to exist so a crate extraction could land without touching
18// call sites, which is what they were for. Kept past that they became a fog:
19// `crate::models::` read as a local module, so nothing in a diff showed that
20// `src/domain` was reaching across a crate boundary, and one file managed to
21// spell the same two crates three different ways. AGENTS.md bans back-compat
22// shims; these were the largest ones left.
23//
24// `pub use app::{Config, load_config, persist_last_model}` lived here too, with
25// zero consumers — all 76 call sites used `crate::app::` directly.