Releases: Tuntii/RustAPI
v0.1.207
RustAPI Release History
v0.1.202 - Performance Revolution (2026-01-26)
🚀 Performance Improvements
This release delivers a 12x performance improvement, bringing RustAPI from ~8K req/s to ~92K req/s - now within striking distance of Actix-web.
Benchmark Results
| Framework | Requests/sec | Latency (avg) |
|---|---|---|
| RustAPI | ~92,000 | ~1.1ms |
| Actix-web 4 | ~105,000 | ~0.95ms |
| Axum | ~100,000 | ~1.0ms |
Tested with hey -n 100000 -c 100 on Windows 11, Ryzen 7 4800H
✨ Server Optimizations
- TCP_NODELAY: Disabled Nagle's algorithm for lower latency
- Pipeline Flush: Enabled HTTP/1.1 pipeline flushing for better throughput
- ConnectionService: Reduced Arc cloning overhead per connection
- HandleRequestFuture: Custom future implementation for request handling
- Ultra-Fast Path: New routing path that bypasses both middleware AND interceptors for maximum performance
📦 JSON Optimizations
- simd-json Serialization: Extended simd-json support from parsing-only to full serialization
- Added
to_vecandto_vec_with_capacityusing simd-json when feature is enabled
🔧 Build Profile Optimizations
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 3
panic = "abort"
strip = true📚 Documentation
- Updated README.md with accurate benchmark numbers
- Removed inflated performance claims
- Added TechEmpower-based comparison data
🧹 Cleanup
- Removed unused static variables from bench_server
- Code formatted with
cargo fmt --all
v0.1.201 - Previous Release
See CHANGELOG.md for historical releases
Performance Roadmap
For planned optimizations to reach and exceed Actix performance.
Target: 105-115K req/s through:
- Stack-allocated futures (remove Box::pin)
- Zero-copy path handling
- Pre-compiled middleware stack
- Response header pooling
v0.1.201
🚀 Release Notes: RustAPI v0.1.200
"Visualizing Health: The Status Page Update"
We are thrilled to announce RustAPI v0.1.200! This milestone release focuses on developer experience and observability, introducing a powerful new way to monitor your API just by upgrading.
✨ New Feature: Built-in Status Page
You can now instantly generate a professional Status Page for your API. No external services, no complex configuration files—just one line of code.
It provides a real-time view of:
- System Uptime & Global Stats
- Per-Endpoint Success Rates (instantly spot failing routes)
- Average Latency (identify bottlenecks)
How to use it:
use rustapi_rs::prelude::*;
#[rustapi::main]
async fn main() -> Result<()> {
RustApi::auto()
.status_page() // 🚀 Instant observability
.run("127.0.0.1:8080")
.await
}Visit /status on your running server to see it in action.
📚 Documentation
- New Cookbook Recipe: [Automatic Status Page](https://tuntii.github.io/RustAPI/cookbook/recipes/status_page.html)
- New Example:
examples/status_demo.rs
📦 Improvements
- Enhanced
RustApibuilder with seamless integration for status monitoring middleware. - Added
chronodependency for precise timestamp tracking.
v0.1.191
v0.1.15
Deployment Tooling, HTTP/3 & Validation i18n
🚀 RustAPI v0.1.15 is here!
Date: 2026-01-23
🌟 Highlights
-
📦 1-Command Deployment
cargo rustapi deploy-> Fly.io / Railway / Shuttle.rs. No Dockerfile needed. -
⚡ HTTP/3 (QUIC) Support
Enablehttp3feature for lower latency connections. -
🌍 International Validation
Native i18n support. Error messages in your users' language (EN/TR). -
🛠️ Client Generator
One command to generate Rust, Python, and TypeScript SDKs.
📋 Full Changelog
Added
- Deployment Tooling: Added
deploycommand, config generation, and multi-provider support. - Client Gen: Auto-generate clients (Rust/TS/Python).
- HTTP/3:
rustapi-corenow supports QUIC viaquinn. - HATEOAS: HAL-style links and resource wrappers.
- i18n: Localized validation messages.
Changed
- Unified Body: Refactored
Bodyabstraction for streaming. - Lifecycle: Graceful shutdown signals.
- OpenAPI: Enhanced path parameter support.
Fixed
- Validation: Group logic fixes.
- Circuit Breaker: Syntax fixes.
- OpenAPI: UUID integer display bug.
Documentation
- Updated Cookbook for Deployment & HTTP/3.