Skip to content

Ultimo

The Rust web framework built for speed, security, and efficiency

Type-safe APIs for latency-sensitive systems — trading platforms, AI inference services, real-time data pipelines, and backend infrastructure where every millisecond counts.

Get Started →

🏗️ Built For

  • Financial Services — trading systems, risk engines, payment processing
  • AI & ML Backends — inference serving, model orchestration, feature pipelines
  • Bot Execution — trading bots, automation engines, webhook processors
  • Real-Time Systems — live data feeds, notifications, collaborative tools
  • Backend Infrastructure — API gateways, microservices, data pipelines

✨ Key Features

  • ⚡ Speed - Zero GC, O(1) routing, Hyper + Tokio async runtime
  • 🔒 Security - #![forbid(unsafe_code)], type-safe contracts, built-in auth & CSRF
  • 📦 Efficiency - Single binary, minimal memory, predictable resource usage
  • 🚀 Auto TypeScript - Generate type-safe clients automatically
  • 🎯 Hybrid API - REST + JSON-RPC in one application
  • 🔧 CLI Tools - Build, develop, and generate clients with ease

🚀 Quick Example

use ultimo::prelude::*;
 
#[tokio::main]
async fn main() -> ultimo::Result<()> {
    let mut app = Ultimo::new();
 
    app.get("/", |ctx: Context| async move {
        ctx.json(json!({"message": "Hello, Ultimo!"})).await
    });
 
    app.listen("127.0.0.1:3000").await
}

📊 Performance

Ultimo is designed for predictable low-latency backend workloads.

  • Built on Hyper 1.x + Tokio async runtime
  • O(1) constant-time route lookup
  • Continuous benchmarks in the repository to catch regressions

For reproducible numbers, run the benchmark suite in your own environment: Benchmark examples

🎯 Type-Safe Full Stack

Backend (Rust):
rpc.query("getUser", |input: GetUserInput| async move {
    Ok(User { id: input.id, name: "Alice".into() })
});
 
// Auto-generate TypeScript client
rpc.generate_client_file("../frontend/src/lib/client.ts")?;
Frontend (TypeScript):
const user = await client.getUser({ id: 1 });
console.log(user.name); // ✅ Fully type-safe!

📚 Learn More

🌟 Why Ultimo?

Speed - Zero GC, O(1) routing, Tokio multi-threaded async runtime
Security - #![forbid(unsafe_code)], type-safe contracts, built-in auth & CSRF
Efficiency - Single binary, minimal memory, predictable resource usage
Type Safety - Types defined in Rust, auto-sync to TypeScript
Great DX - Full IDE autocomplete, hybrid REST + RPC, CLI tooling