Skip to content

Releases: Tuntii/RustAPI

v0.1.207

26 Jan 00:08
b4ec33b

Choose a tag to compare

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_vec and to_vec_with_capacity using 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

25 Jan 01:57
bde37fb

Choose a tag to compare

🚀 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

📦 Improvements

  • Enhanced RustApi builder with seamless integration for status monitoring middleware.
  • Added chrono dependency for precise timestamp tracking.

v0.1.191

24 Jan 00:19
a4b1a7b

Choose a tag to compare

What's Changed

  • Add unified validation system with async support by @Tuntii in #56

Full Changelog: v0.1.15...v0.1.191

v0.1.15

23 Jan 13:18

Choose a tag to compare

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
    Enable http3 feature 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 deploy command, config generation, and multi-provider support.
  • Client Gen: Auto-generate clients (Rust/TS/Python).
  • HTTP/3: rustapi-core now supports QUIC via quinn.
  • HATEOAS: HAL-style links and resource wrappers.
  • i18n: Localized validation messages.

Changed

  • Unified Body: Refactored Body abstraction 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.