ryuk 0.1.0

A Laravel-style full-stack web framework for Rust: axum, SeaORM and Inertia, with auth, queues, mail, storage, cache, scheduling and an MCP server.
Documentation
//! ryuk: a Laravel-style full-stack framework on axum.
//!
//! Every module is a Cargo feature (all on by default via `full`):
//!
//! | feature      | adds                                             |
//! |--------------|--------------------------------------------------|
//! | `sessions`   | session layer                                    |
//! | `inertia`    | Inertia protocol, Vite assets, flash/errors      |
//! | `auth`       | argon2 passwords, `Auth` extractors              |
//! | `validation` | `Form<T>` extractor                              |
//! | `openapi`    | utoipa docs at `/docs` and `/openapi.json`       |
//! | `db`         | SeaORM connect + migrations                      |
//! | `queue`      | database-backed jobs (needs `db`)                |
//! | `api`        | web/api route groups, `ApiAuth`, JSON errors, CORS |
//! | `apikeys`    | API keys for machine clients                     |
//! | `oauth-server` | OAuth2 authorization server                    |
//! | `social`     | social login (GitHub, Google)                    |
//! | `passkey`    | WebAuthn/FIDO2 passkeys (needs `auth`, `db`, `sessions`) |
//! | `push`       | device registry, FCM + APNs push notifications   |
//! | `mail`       | log / SMTP mailer                                |
//! | `s3` `mcp` | S3-compatible disk, Model Context Protocol server |
//! | `storage` `http` `cache` `events` `schedule` | disks, HTTP client, cache, events, scheduler |
//! | `gate` `crypt` `notifications` `lang` | policies, encryption + signed URLs, notifications, localization |
//! | `csrf`       | CSRF middleware (Inertia/axios compatible)       |
//! | `safety`     | login throttle, one-time tokens (needs `db`)     |
//! | `sqlite` `postgres` `mysql` | database drivers (URL scheme picks one) |
//! | `session-db` `session-file` `session-moka` `session-redis` | session stores |
#[cfg(feature = "api")]
pub mod api; // Principal, ApiAuth, ApiError, TokenVerifier, rate limit
#[cfg(feature = "apikeys")]
pub mod apikey; // API keys
pub mod app; // App builder, env Config, serve(), tracing init
#[cfg(feature = "auth")]
pub mod auth; // password hashing, Auth extractors
#[cfg(feature = "cache")]
pub mod cache; // Cache (memory + db stores)
#[cfg(feature = "crypt")]
pub mod crypt; // Crypt (AES-256-GCM) + signed URLs
#[cfg(feature = "csrf")]
pub mod csrf; // CSRF middleware (XSRF-TOKEN cookie)
#[cfg(feature = "db")]
pub mod db; // SeaORM connect + migration runner
#[cfg(feature = "events")]
pub mod events; // event dispatcher + listeners
#[cfg(feature = "gate")]
pub mod gate; // authorization gates + policies
pub mod health; // /healthz + /readyz
#[cfg(feature = "http")]
pub mod http; // Http client facade
#[cfg(feature = "inertia")]
pub mod inertia; // Inertia protocol, shared props, flash, 303 redirects
#[cfg(feature = "lang")]
pub mod lang;
#[cfg(feature = "mail")]
pub mod mail; // Mailer (lettre), log/smtp transports
#[cfg(feature = "mcp")]
pub mod mcp;
#[cfg(feature = "notifications")]
pub mod notifications; // notifications (mail, database channels)
#[cfg(feature = "oauth-server")]
pub mod oauth_server; // OAuth2 authorization server
#[cfg(feature = "openapi")]
pub mod openapi; // utoipa-axum router + /docs (Scalar) + /openapi.json
#[cfg(feature = "passkey")]
pub mod passkey; // WebAuthn/FIDO2 passkeys (registration + discoverable sign-in)
pub mod prelude;
pub mod proxy; // trusted proxies, ClientIp extractor
#[cfg(feature = "push")]
pub mod push; // device registry + FCM/APNs push notifications
#[cfg(feature = "queue")]
pub mod queue; // background jobs
#[cfg(feature = "s3")]
pub mod s3; // S3-compatible storage disk
#[cfg(feature = "schedule")]
pub mod schedule; // task scheduler
pub mod security; // security headers, request limits
#[cfg(feature = "sessions")]
pub mod session; // cookie session layer
#[cfg(feature = "social")]
pub mod social; // social login (OAuth2 client)
#[cfg(feature = "storage")]
pub mod storage; // Storage disks (local filesystem)
#[cfg(feature = "safety")]
pub mod throttle; // DB-backed login throttling / lockout
#[cfg(feature = "safety")]
pub mod tokens; // DB-backed one-time tokens (email verify, password reset)
#[cfg(feature = "validation")]
pub mod validation; // Form<T> extractor, errors -> Inertia props // localization // Model Context Protocol server