laravel-rust 0.1.0

Laravel for Rust: a full-stack Rust web framework, inspired by PHP Laravel
Documentation
//! Requests, responses, and middleware for the routes your application serves, and the
//! [`client`] for the requests it sends.
//!
//! A handler takes a [`Request`] or extractors such as [`Json`]. It returns anything that
//! implements [`IntoResponse`], such as a string, [`Json`], a [`Redirect`], a [`Download`], a
//! [`Streamed`] body, or a [`Response`] you build. [`Middleware`] runs around handlers, and
//! [`MiddlewareConfig`] holds the application's global middleware and route groups.
//!
//! ```
//! use laravel::http::{Json, Request};
//! use serde_json::{Value, json};
//!
//! pub async fn show(request: Request) -> Json<Value> {
//!     Json(json!({ "path": request.path() }))
//! }
//! ```
//!
//! To learn more, check out the
//! [requests](https://github.com/laravel/rust-framework/blob/0.x/docs/requests.md),
//! [responses](https://github.com/laravel/rust-framework/blob/0.x/docs/responses.md), and
//! [middleware](https://github.com/laravel/rust-framework/blob/0.x/docs/middleware.md) guides.

pub mod middleware;

pub(crate) use laravel_http::http::*;
#[doc(hidden)]
pub use laravel_http::http::{__MiddlewareResult, __extract};
#[doc(inline)]
pub use laravel_http::http::{
    ClientGone, Created, Download, File, HeaderMap, HeaderValue, IntoMiddleware, IntoResponse, IntoStatusCode, Json,
    JsonStream, Layer, Method, Middleware, MiddlewareConfig, MiddlewareGroup, Next, NoContent, PendingStore, Redirect,
    Request, RequestId, Response, Sender, StatusCode, Streamed, UploadedFile, client, header, layer, redirect, sse,
};
#[doc(inline)]
pub use laravel_http::validation::{Query, QueryInput};
pub use laravel_rust_http_macros::middleware;