1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(html_root_url = "https://docs.rs/iqhttp/0.1.0")]
#![forbid(unsafe_code, clippy::unwrap_used)]
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]
#[cfg(feature = "serde")]
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
pub mod serializers;
mod error;
mod https_client;
mod query;
pub use self::{
error::{Error, Result},
https_client::HttpsClient,
query::Query,
};
pub use hyper::{self, Uri};
pub const USER_AGENT: &str = concat!("iqhttp/", env!("CARGO_PKG_VERSION"));
pub type Path = str;