Skip to main content

Crate manta_shared

Crate manta_shared 

Source
Expand description

Shared library used by both manta-cli and manta-server.

Top-level modules:

  • shared — wire-shaped data (request *Params, response DTOs, SAT YAML parser, cluster-status helpers).
  • common — config loader / TOML schema, audit + Kafka producer, JWT helpers, AppContext/InfraContext, tracing setup, and the network-reachability probe.

The backend bridge (StaticBackendDispatcher, the CSM/OCHAMI trait impls, and authorization helpers that take a &StaticBackendDispatcher) lives in manta-server; the CLI never reaches it.

Modules§

common
Helpers shared by both binaries (manta-cli today; manta-server soon).
shared
Types shared between the CLI and the HTTP server.