Skip to main content

Crate soma_gateway

Crate soma_gateway 

Source
Expand description

Reusable MCP aggregation gateway runtime.

This crate intentionally starts with a narrow public surface. Runtime modules are added phase by phase behind tests that enforce the dependency direction.

Modules§

codemode_journal
config
Gateway configuration DTOs and local persistence-safe views.
dispatch_helpers
gateway
Gateway runtime seams.
net
process
Process hygiene for stdio upstreams.
registry
security
Gateway-local security helpers.
upstream
Self-contained upstream runtime primitives.
usage

Constants§

CODEMODE_ENABLED
Whether the optional Code Mode gateway adapter is compiled in.
FEATURE_NAMES
Optional feature names that product crates may enable.
OAUTH_ENABLED
Whether the optional upstream OAuth adapter is compiled in.
OPENAPI_ENABLED
Whether the optional OpenAPI gateway adapter is compiled in.
PALETTE_ENABLED
Whether the optional palette projection adapter is compiled in.
PROTECTED_ROUTES_ENABLED
Whether protected-route support is compiled in.
VERSION
Crate version from Cargo metadata.