Ryuk
A Laravel-style full-stack web framework for Rust: axum for HTTP, SeaORM for the database, and Inertia with Svelte for the front end. A CLI scaffolds an app that already has registration, login, email verification, password reset, an API with keys and OAuth, and a test suite.
Status: pre-1.0. The code is tested (unit tests, in-process end-to-end flow tests, and runs against Postgres, MySQL, Redis and an S3-compatible server), but it has not been proven in production. Never run against a real provider: AWS S3, FCM/APNs, GitHub/Google sign-in, an SMTP provider. Passkeys are tested with a software authenticator, not real hardware or a browser. Requires Rust 1.94+ (declared from the dependencies, not tested on that exact toolchain). The Svelte client has not been exercised in a browser by the project's tests.
Quick start
&& ( && ) &&
Generators follow Laravel's names: ryuk make:model|controller|api|migration|job|mail|event|notification|policy|seeder|middleware, plus ryuk migrate, ryuk db:seed, ryuk queue:work.
What is in the box
Every module is a Cargo feature of the ryuk crate; the default full turns on the common ones and default-features = false leaves a bare axum app builder.
| Area | Features |
|---|---|
| Web | inertia, validation, openapi, csrf, sessions (db, file, moka, redis stores) |
| Auth and security | auth, safety (login throttle, one-time tokens), gate (authorization policies), crypt (encryption, signed URLs), apikeys, oauth-server, social, passkey (WebAuthn) |
| Data | db (sqlite, postgres, mysql), cache, storage (local disks), s3 (any S3-compatible provider) |
| Background | queue, events, schedule, notifications, push (FCM, APNs) |
| Messaging | mail (log, SMTP), mail-templates (Askama files) |
| Other | http client, lang (localization), mcp (Model Context Protocol server) |
Documentation
The guides and reference live in docs/ of the repository (a Fumadocs site: cd docs && pnpm install && pnpm dev); API docs are on docs.rs, including end-to-end guides for customizing the auth emails, adding a registration field, file uploads, background work, authorization and tuning authentication.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.