rullst-macros 3.0.0

JSX-like compilation macros for Rullst framework
Documentation

Rullst is an opinionated, developer-first full-stack web framework for Rust, obsessively designed for Emotional Productivity. It solves the biggest problem in the Rust web ecosystem: the high barrier of entry. With Rullst, you spend your energy building your business, not fighting borrow checkers and manual routing setups.


โšก Unmatched Performance

Rullst's "Zero-Cost Abstraction" architecture provides full-stack productivity without sacrificing bare-metal speed. In our official Criterion micro-benchmarks:

  • SSR Rendering: ~1.07 ยตs (4.2x faster than Dioxus, 8.5x faster than Leptos).
  • Routing: ~974 ns (Identical latency to raw Axum).

โœจ The "Wow" Factor

Rullst brings the ergonomics of Laravel and Ruby on Rails to the blazing-fast, memory-safe world of Rust:

  • Rullst Nexus: An auto-generated, dark-mode CMS & Admin Panel directly from your Structs.
  • Hot-Reloading: Sub-second native DLL hot-swapping. Change your Rust code and see it instantly.
  • Zero-Panic Policy: Hardened architecture built for production edge infrastructure.
  • Interactive Scaffolding: 1-click generators for Auth, ERPs, Uptime Monitors, and Deployments.

๐Ÿš€ Quick Start

Get your next SaaS up and running in under 60 seconds:

# 1. Install the CLI
cargo install cargo-rullst

# 2. Create a new full-stack project (Interactive Wizard)
cargo rullst new my-startup

# 3. Start the Hot-Reloading Dev Server
cd my-startup
cargo rullst dev

๐Ÿ’ป The Beauty of Rullst

use rullst::{routing::get, html, Server, Response};

#[routes]
fn home() -> Response {
    html! {
        <div class="h-screen bg-slate-900 text-emerald-400 flex items-center justify-center">
            <h1>"Hello, Rullst!"</h1>
        </div>
    }
}

#[tokio::main]
async fn main() {
    Server::new()
        .route("/", get(home))
        .run()
        .await;
}

๐Ÿ“š Documentation & Community

We've rewritten our entire documentation from scratch into a beautiful, high-performance website. Discover everything Rullst can do, read the benchmarks, and master the framework:

๐Ÿ‘‰ Explore the Official Website & Docs

๐Ÿ’ฌ Join the Community on Discord

Found a bug? Report an Issue