timvw_rust_runtime/
lib.rs1#![cfg_attr(
2 all(feature = "reqwest", feature = "retry", feature = "tracing"),
3 doc = include_str!("../README.md")
4)]
5#: a tower-based HTTP client. See the README for the guide."
8)]
9#![cfg_attr(docsrs, feature(doc_cfg))]
10
11mod body;
12mod client;
13mod error;
14pub mod multipart;
15mod request;
16#[cfg(feature = "reqwest")]
17mod reqwest_service;
18mod response;
19#[cfg(feature = "retry")]
20pub mod retry;
21pub mod sse;
22#[cfg(feature = "tracing")]
23pub mod trace;
24
25pub use body::Body;
26pub use client::{Client, HttpService};
27pub use error::Error;
28pub use request::RequestBuilder;
29#[cfg(feature = "reqwest")]
30pub use reqwest_service::ReqwestService;
31pub use response::Response;
32
33pub use http;
34pub use http::{header, HeaderMap, Method, StatusCode};
35pub use tower;
36
37pub type BoxError = Box<dyn std::error::Error + Send + Sync>;