Skip to main content

Crate soma_config

Crate soma_config 

Source
Expand description

Product configuration, environment loading, and env-var registry for soma.

Split out of soma-contracts (plan section 3.18): owns Soma’s own environment variables, config.toml shape, defaults, path resolution, and configuration validation. It does not own engine configuration types themselves (those stay with the engine crates) or business workflows.

Re-exports§

pub use config::default_data_dir;
pub use config::load_dotenv;
pub use config::AuthConfig;
pub use config::AuthMode;
pub use config::Config;
pub use config::EffectiveRuntimeMode;
pub use config::McpConfig;
pub use config::RuntimeMode;
pub use config::SomaConfig;
pub use config::TraceHeaderMode;

Modules§

config
Configuration structs for the Soma MCP server.
env_registry
Canonical environment-variable registry.