webrune 0.1.2

A composable web server.
Documentation
//! Request and response body helpers.
//!
//! This module contains common body types and utilities used by the framework
//! to work with HTTP request and response bodies.
//!
//! Body helpers typically serve one of two roles:
//! - **extraction**: reading and decoding request bodies into typed values
//!   (e.g. JSON),
//! - **construction**: creating response bodies with common defaults.
//!
//! The types in this module are designed to integrate with:
//! - [`crate::FromRequest`] for asynchronous body extraction, and
//! - [`crate::IntoResponse`] for converting values into HTTP responses.
//!
//! # Provided Types
//!
//! - [`Empty`]: An empty response body.
//! - [`Json`]: A JSON body wrapper for request extraction and response creation.
//!
//! Additional body helpers can be added without affecting the core request
//! handling or routing logic.

mod empty;
mod json;

pub use self::empty::Empty;
pub use self::json::Json;
pub use self::json::JsonError;