I’ve been working on RustAPI, an open-source Rust API framework designed with AI-first development in mind.
While frameworks like Actix and Axum are powerful, I noticed that LLMs struggle with their boilerplate-heavy and rigid patterns when generating APIs. RustAPI focuses on readability, composability, and predictable structures so both humans and AI can work with it more effectively.
It includes built-in OpenAPI/Swagger support and is optimized for SSE, MCP, and LLM-driven workflows.
I’m sharing this to get early feedback from Rust and backend developers — especially those experimenting with AI-generated code.
Tunti35•1mo ago
Fixed all clippy lints (14 issues) Improved type complexity with aliases Better error handling patterns Cleaned up imports and dead code Key features:
Zero-config routing with auto-discovery Type-safe extractors (Json<T>, Path<T>, Query<T>) Auto-generated OpenAPI/Swagger UI WebSocket & Server-Sent Events Template engine (Tera) CLI tool for scaffolding (cargo-rustapi) TOON format: 50-58% token reduction for LLM interactions
Tunti35•2w ago
Release Date: January 19, 2026
New Feature: CSRF Protection
RustAPI now includes built-in *Cross-Site Request Forgery (CSRF) protection* using the industry-standard Double-Submit Cookie pattern.