Skip to main content

allframe/
lib.rs

1//! # AllFrame
2//!
3//! **Complete Rust Web Framework with Built-in HTTP/2 Server**
4//!
5//! > *One frame to rule them all. Transform, compose, ignite.*
6//!
7//! AllFrame is a complete Rust web framework with a built-in HTTP/2 server,
8//! designed and evolved exclusively through Test-Driven Development (TDD).
9//!
10//! ## Quick Start
11//!
12//! ```toml
13//! [dependencies]
14//! allframe = "0.1"
15//! ```
16//!
17//! ## What's Included
18//!
19//! - **Built-in HTTP/2 Server** - Powered by Hyper, no external server needed
20//! - **Multi-Protocol Support** - REST, GraphQL, and gRPC from one codebase
21//! - **Compile-time DI** - Dependency injection resolved at compile time
22//! - **Auto OpenAPI 3.1** - API documentation generated automatically
23//! - **CQRS + Event Sourcing** - Production-ready infrastructure (85% less
24//!   boilerplate)
25//! - **Beautiful API Docs** - Scalar UI, GraphiQL, gRPC Explorer built-in
26//! - **Zero External Dependencies** - Only Tokio, Hyper, and std
27//!
28//! ## Example
29//!
30//! ```rust,ignore
31//! use allframe::prelude::*;
32//!
33//! #[allframe::main]
34//! async fn main() {
35//!     let app = App::new()
36//!         .route("/hello", get(hello_handler));
37//!
38//!     app.run().await;
39//! }
40//!
41//! #[api_handler]
42//! async fn hello_handler() -> &'static str {
43//!     "Hello, AllFrame!"
44//! }
45//! ```
46//!
47//! See the [GitHub repository](https://github.com/all-source-os/all-frame) for more examples.
48
49// Re-export everything from allframe-core
50pub use allframe_core::*;