slave-framework 0.1.1

Runtime for slave apps (a Laravel-inspired Rust framework for MCP-first apps): server lifecycle, config, logging, Turso database and migrations, password hashing and bearer tokens
//! 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 local Turso database ([`database`]) with schema
//! migrations ([`migration`]), and with the default `auth` feature, password
//! hashing and bearer tokens ([`auth`]).

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

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