Skip to content

v0.1.201

Choose a tag to compare

@Tuntii Tuntii released this 25 Jan 01:57
· 253 commits to main since this release
bde37fb

🚀 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.