Expand description
Types shared between the CLI and the HTTP server.
Everything in this module is “wire-shaped” data — request parameter
structs and re-exports of the response types returned by the manta
server. There is no business logic here. Both crate::cli and
crate::server/crate::service consume these types; nothing in
this module depends on either layer.
Future-proofing: once the codebase is split into a Cargo workspace, this
module becomes the manta-shared library crate.
Modules§
- auth
- Wire types for the
POST /api/v1/auth/{token,validate}endpoints. - cluster_
status - Pure helpers for summarizing node and cluster status.
- dto
- Wire response types shared by both binaries.
- params
- Request parameter structs passed from the CLI to the server.