AllFrame
The Composable Rust API Framework
One frame to rule them all. Transform, compose, ignite.
The first Rust web framework built 100% through Test-Driven Development.
Why AllFrame?
Compile-Time DI
Dependency injection resolved entirely at compile time. Zero runtime overhead, zero reflection magic.
Protocol-Agnostic NEW
Write once, expose via REST, GraphQL, and gRPC. Single handler, multiple protocols, automatic schema generation.
CQRS + Event Sourcing
Production-ready infrastructure with 85% average boilerplate reduction. CommandBus, Projections, Sagas included.
Beautiful API Docs
Scalar UI for REST (10x smaller than Swagger), GraphiQL for GraphQL, interactive gRPC explorer. All built-in.
MCP Server ZERO BLOAT
Expose your API as LLM-callable tools. Separate crate means 100% zero overhead when not used.
Zero Runtime Deps
Only Tokio, Hyper, and std. No hidden bloat, no dependency hell. Binaries under 2MB.
100%
TDD Coverage
291+
Tests Passing
85%
Less Boilerplate
<2MB
Binary Size
Framework Comparison
| Feature | AllFrame | Actix | Axum | Rocket |
|---|---|---|---|---|
| TDD-First | 100% | - | - | - |
| Compile-time DI | Yes | - | - | - |
| Auto OpenAPI 3.1 | Yes | Manual | Manual | Manual |
| CQRS + Event Sourcing | Built-in | - | - | - |
| Protocol-agnostic | Yes | - | - | - |
| MCP Server | Zero Bloat | - | - | - |
| Zero runtime deps | Yes | - | Yes | - |
Ready to build?
AllFrame is open source under MIT and Apache 2.0 licenses. Join us in building the most developer-friendly Rust API framework.