RustAPI v0.1.397 Production-Ready Rust Backend Framework
RustAPI v0.1.397
Hey Product Hunt
After months of building in public and iterating with the community, I m excited to launch RustAPI v0.1.397, the biggest feature release since v0.1.300 transforming RustAPI from a routing tool into a production-ready application platform.
Why This Matters
RustAPI v0.1.333 is out — Quick Wins + Must-Have Completion
RustAPI is a Rust web framework inspired by FastAPI but built for a modern, native Rust runtime with first-class OpenAPI 3.1 and validation.
This release is a focused quick wins iteration that closes several must-have gaps across runtime, WebSockets, OpenAPI correctness, and docs while also tightening the dependency surface.
What s new in v0.1.333
True dual-stack runtime (done): RustApi::run_dual_stack now runs HTTP/1.1 (TCP) and HTTP/3 (QUIC/UDP) simultaneously.
WebSocket permessage-deflate (done): real parsing + parameter negotiation for Sec-WebSocket-Extensions.
OpenAPI ref integrity coverage upgraded: traversal validation now covers response / requestBody / header / callback paths + tests.
Async validation context from app state: AsyncValidatedJson now respects state-provided ValidationContext (with verified coverage).
Docs aligned with reality: architecture docs synced to OpenAPI 3.1 + v2-native validation direction.
Dependency footprint reduced: trimmed unused / overly broad dependencies & feature sets to reduce lockfile surface.
Replay-Diff for Rust APIs: reproduce prod bugs locally in seconds
Today I m shipping RustAPI v0.1.300 with a new flagship feature: Replay (Time-Travel Debugging) a complete Record Replay Diff system for HTTP requests.
Why it matters
When a bug only happens in production, try to reproduce it becomes the bottleneck. With Replay, you can record real requests, replay them locally or in staging, and diff the new response vs the recorded one instantly.
What s included in v0.1.300
ReplayLayer middleware for automatic request/response recording
Stores: InMemoryReplayStore + FileSystemReplayStore
Admin HTTP routes to list, replay, and diff entries
ReplayClient for programmatic replay testing
Security: disabled by default, bearer token required, sensitive header/body redaction, configurable TTL + cleanup via RetentionJob
CLI: cargo-rustapi replay commands (list/show/run/diff/delete)

