1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![deny(missing_docs)]
//! Check out the [repository](https://github.com/sbstp/lynx) for more general information
//! and examples about this crate.

#[macro_use]
extern crate log;

#[cfg(feature = "charsets")]
pub mod charsets;
mod error;
mod parsing;
mod request;
mod streams;

#[cfg(feature = "charsets")]
pub use crate::charsets::Charset;
pub use crate::error::{HttpError, HttpResult};
pub use crate::parsing::ResponseReader;
pub use crate::request::Request;
pub use http::StatusCode;
pub mod header {
    //! This module is a re-export of the `http` crate's `header` module.
    pub use http::header::*;
}