2 stable releases
Uses new Rust 2024
| new 1.0.1 | Feb 28, 2026 |
|---|---|
| 1.0.0 | Feb 26, 2026 |
#763 in HTTP server
41KB
917 lines
🛑 UNDER DEVELOPMENT 🛑
USE IT AT YOUR OWN RISK
My Rust Framework
A lightweight, opinionated Rust web framework built on top of Actix-web, SQLx, and Tera.
Repository Structure
This repository contains two separate Cargo projects:
/framework: The core framework code./starter: A complete template application. Use this to start your own project!
Features
- Integrated Auth: Built-in JWT and Argon2 password hashing. Is also pre-configured in the starter app.
- Template Engine: First-class support for Tera templates with an Astro dev server proxy for rapid frontend development.
- Cron Scheduler: Easy async job scheduling.
- Rate Limiting: IP-based rate limiting via Actix-governor.
- Database: Pre-configured SQLx SQLite pool with automatic migrations.
Getting Started
The fastest way to get started is to explore the Starter App. It comes with a preconfigured frontend (Astro), auth services, and database migrations.
1. Copy the Starter
Copy the starter folder to your own repository or work directly inside it.
2. Configure Environment
Navigate to the starter directory and copy the example environment file:
cd starter
cp .example.env .env
3. Run Development Mode
The starter includes a dev binary that launches both the Rust backend and the Astro frontend concurrently:
cargo run --bin dev
License
MIT OR Apache-2.0
Dependencies
~71–96MB
~1.5M SLoC