manta-shared 2.0.0-beta.59

Shared types and pure helpers used by both manta-cli and manta-server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Wire types shared between the `manta-cli` and `manta-server`
//! binaries — the CLI↔server API contract.
//!
//! Everything in this module is "wire-shaped" data: request/response
//! bodies, query-string structs, and CLI-built parameter structs
//! (`api/`), response DTOs re-exported from upstream crates (`dto`),
//! auth wire shapes (`auth`), plus pure helpers that operate on those
//! types (`cluster_status`). There is no business logic and no I/O;
//! this module depends only on `serde`, `utoipa`, and
//! `manta-backend-dispatcher` type re-exports. Anything that performs
//! work — config loading, tracing init, error conversion — lives in
//! [`super::common`].

pub mod api;
pub mod auth;
pub mod cluster_status;
pub mod dto;