-
-
Notifications
You must be signed in to change notification settings - Fork 4
v0.1.201 #60
Tuntii
announced in
Announcements
v0.1.201
#60
🚀 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://rustapi.rs/cookbook/recipes/status_page)
- New Example:
examples/status_demo.rs
📦 Improvements
- Enhanced
RustApibuilder with seamless integration for status monitoring middleware. - Added
chronodependency for precise timestamp tracking.
This discussion was created from the release v0.1.201.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment