trending

15d ago

RustAPI v0.1.501

Native MCP support! Your API is now an AI agent toolkit.

Highlights

  • Full MCP (Model Context Protocol) support via the new rustapi-mcp crate

    • Automatically expose routes as tools using your existing OpenAPI spec

    • Tag-based filtering (allowed_tags) so agents only see what you want them to

    • Real proxied tools/call every call goes through your normal middleware, extractors, validation, and error handling

    • Works great with Claude, Cursor, custom agents, etc.

  • One-liner enablement

    .use_mcp(McpConfig::new().allowed_tags(vec!["public", "agent"]))
  • Crate cleanup: Consolidated from 13 crates down to 9. rustapi-testing, jobs, view, and toon are now features instead of separate published crates.

  • Better observability UX

    • Dashboard now has route filters + integrated replay browser

    • Improved replay admin API with pagination and filters

New / Notable Crates & Features

1mo ago

RustAPI v0.1.470 — The Embedded Dashboard Update

RustAPI just got a massive upgrade. We re introducing the Embedded Isometric System Dashboard a self-contained, opt-in control plane that lives directly inside your Rust process.

Most Rust frameworks require complex external Prometheus/Grafana stacks just to see what s happening. With v0.1.470, you get:

  • Visual Route Topology: See your route graph and execution paths in real-time.

  • Near-Zero Overhead: Lock-free atomic counters track "Ultra Fast" vs "Full" execution paths.

  • Built-in Replay Browser: Debug production issues by replaying and diffing requests directly in the UI.

  • Security First: Strict CSP headers and bearer-protected JSON APIs.

Stop fighting with infra and start building. One feature flag, one builder call, total visibility.

4mo ago

We launched RustAPI v0.1.410 🚀

Our Production Baseline release for building production-ready Rust services faster.

What s new in this release:

  • one-call production defaults

  • built-in /health, /ready, /live probes

  • session management

  • rate limiting strategies

  • new CLI bench + observability commands

  • improved multipart streaming

  • new real-world Auth / CRUD / Jobs / Streaming examples

  • 10+ cookbook recipes

The goal is simple: help Rust teams go from prototype to production with less setup and more confidence.

4mo ago

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

5mo ago

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.

5mo ago

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)

6mo ago

RustAPI - A Rust API framework designed for AI-first development

RustAPI is an open-source Rust API framework built to make AI-generated backend services readable, composable, and production-ready. It removes boilerplate friction from Actix/Axum and is optimized for SSE, MCP, and LLM workflows.