http_tiny/
lib.rs

1//! # About
2//! `http_tiny` is a small, nearly dependency-less crate to create, serialize, read and parse HTTP/1.1-headers.
3//! 
4//! It is not designed to be the fastest crate out there, but it's easy to understand and read and flexible enough to be
5//! useful as general-purpose HTTP-header crate.
6
7/// Implements error types with support for `Backtrace` and some additional helpers
8#[macro_use] pub mod error;
9/// A HTTP header implementation
10mod header;
11// A URL request target implementation
12mod request_target;
13/// A percent coder
14mod percent_coder;
15/// Some internal helpers
16mod helpers;
17/// A wrapper to limit IO
18mod limiter;
19
20// Re-export public types
21pub use crate::{
22    limiter::Limiter,
23    header::{ Header, HeaderStartLine, HeaderFields },
24    percent_coder::{ PercentEncoder, PercentDecoder },
25    request_target::{ RequestTarget, RequestTargetPath, QueryString }
26};