slave-framework 0.8.1

Runtime for slave apps (a Laravel-inspired Rust framework for MCP-first apps): server lifecycle, config, logging, a Toasty database (Turso), and OpenID Connect sign-in
//! Runtime for applications built with the [slave](https://github.com/kewcoder/slave) framework.
//!
//! Generated applications depend on this crate for the pieces every app needs:
//! environment configuration ([`env`]), structured logging ([`logging`]), an
//! HTTP server with graceful shutdown ([`server`]) and, with the default
//! `database` feature, a [Toasty](https://github.com/tokio-rs/toasty) database
//! on Turso's embedded engine ([`database`]), and with the default
//! `oidc` feature, sign-in through an OpenID Connect provider ([`oidc`]): the
//! app verifies the provider's ID tokens and never handles passwords. The
//! `testing` feature adds a test database and a test identity provider.

#[cfg(feature = "database")]
pub mod database;
pub mod env;
mod error;
pub mod logging;
#[cfg(feature = "oidc")]
pub mod oidc;
pub mod server;
#[cfg(feature = "testing")]
pub mod testing;

pub use error::{Error, Result};
#[cfg(feature = "database")]
pub use toasty;