AllFrame

Complete Rust Web Framework with Built-in HTTP/2 Server

REST, GraphQL, and gRPC from one codebase. TDD from day zero.
Evolving from framework to cloud-native microservice architecture generator.

# Install AllFrame CLI
cargo install allframe

# Create a new project
allframe ignite my-api

# Run your API
cd my-api && cargo run
v0.1.12 100% TDD 455+ Tests CQRS Complete Layered Auth Resilience Graceful Shutdown Rust 1.86+ MIT / Apache 2.0

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.

CLI Ready

cargo install allframe, then allframe ignite my-api. Zero-warning templates with Clean Architecture scaffolding.

Resilience Patterns NEW

Production-ready retry with backoff, circuit breakers, rate limiting. KeyedCircuitBreaker, Redis rate limiting. Attribute macros for zero-config resilience.

Layered Authentication NEW

Protocol-agnostic auth with zero-bloat feature flags. Core traits, JWT (HS256/RS256/EdDSA), Axum extractors, gRPC interceptors.

Security Utilities NEW

Safe logging with credential obfuscation. #[derive(Obfuscate)] for structs, Sensitive<T> wrapper for secrets.

Graceful Shutdown NEW

Production-ready shutdown utilities. ShutdownAwareTaskSpawner for named tasks, GracefulShutdownExt for cleanup orchestration.

Cloud-Native Vision

Roadmap to v1.0: Generate complete microservice architectures from declarative config. Multi-cloud IaC with Terraform/Pulumi.

v0.1.12

Latest Version

100%

TDD Coverage

455+

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 - - -
Resilience Patterns Built-in External External -
Layered Auth Protocol-agnostic External External External
Safe Logging Built-in - - -
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.