Skip to main content

manta_shared/
lib.rs

1//! Shared library used by both `manta-cli` and `manta-server`.
2//!
3//! Top-level modules:
4//!
5//! - [`shared`] — wire-shaped data (request `*Params`, response DTOs, SAT
6//!   YAML parser, cluster-status helpers).
7//! - [`common`] — config loader / TOML schema, audit + Kafka producer,
8//!   JWT helpers, `AppContext`/`InfraContext`, tracing setup, and the
9//!   network-reachability probe.
10//!
11//! The backend bridge (`StaticBackendDispatcher`, the CSM/OCHAMI trait
12//! impls, and `authorization` helpers that take a `&StaticBackendDispatcher`)
13//! lives in `manta-server`; the CLI never reaches it.
14
15pub mod common;
16pub mod shared;