Crate manta_server

Crate manta_server 

Source
Expand description

Library root for the manta-server crate.

All modules live here. The main.rs binary is a thin bootstrap shim; integration tests in crates/manta-server/tests/ import the library directly via use manta_server::....

Modules§

backend_dispatcher
StaticBackendDispatcher implementation modules and the dispatch! macro.
manta_backend_dispatcher
Runtime backend selector — wraps either a CSM or an OpenCHAMI backend behind a single enum so the rest of the codebase is backend-agnostic.
server
HTTPS server setup: shared state, request-logging middleware, and the TLS server entry point.
service
Business logic layer — orchestrates backend calls and enforces domain rules for every resource type exposed by the CLI and HTTP server.
wire_conv
Conversions between wire types (manta-shared) and backend types (manta-backend-dispatcher).