//! The application as a library, shared by its binaries: the MCP server
//! (`src/main.rs`), the migration tool (`src/bin/migrate.rs`) and the
//! runtime (`runtime/`).
pub mod app;
pub mod base;
pub mod modules;
/// Connects to the database (`SURREAL_*` settings).
pub async fn database(
config: &slave_framework::database::DatabaseConfig,
) -> slave_framework::Result<slave_framework::database::Db> {
slave_framework::database::connect(config).await
}