#![cfg_attr(
all(feature = "reqwest", feature = "retry", feature = "tracing"),
doc = include_str!("../README.md")
)]
#: a tower-based HTTP client. See the README for the guide."
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
mod body;
mod client;
mod error;
pub mod multipart;
mod request;
#[cfg(feature = "reqwest")]
mod reqwest_service;
mod response;
#[cfg(feature = "retry")]
pub mod retry;
pub mod sse;
#[cfg(feature = "tracing")]
pub mod trace;
pub use body::Body;
pub use client::{Client, HttpService};
pub use error::Error;
pub use request::RequestBuilder;
#[cfg(feature = "reqwest")]
pub use reqwest_service::ReqwestService;
pub use response::Response;
pub use http;
pub use http::{header, HeaderMap, Method, StatusCode};
pub use tower;
pub type BoxError = Box<dyn std::error::Error + Send + Sync>;