Skip to main content

trusty_analyze/
lib.rs

1//! `trusty-analyzer` — sidecar code-analysis daemon for trusty-search.
2//!
3//! Library entrypoint. The previous multi-crate workspace was collapsed into
4//! a single crate so the daemon can be published to crates.io as one package.
5//! Each former crate is now a top-level module that re-exports its public API
6//! at the same path it used to have, modulo the crate→module prefix change.
7
8pub mod core;
9pub mod embedder;
10pub mod lang;
11pub mod mcp;
12// Why (issue #249): the `service` module is the axum HTTP daemon surface and
13// only compiles when the `http-server` feature is enabled. Gating it keeps
14// library consumers that only need the analysis core / dispatcher free of the
15// axum + tower-http stack.
16#[cfg(feature = "http-server")]
17pub mod service;
18pub mod types;