#![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg))]
#![warn(missing_docs)]
#![doc = include_utils::include_md!("README.md:description")]
pub use body_reader::{BodyReader, BodyReaderError};
mod body_reader;
pub trait ResponseExt<T>: Sized {
fn body_reader(self) -> BodyReader<T>;
}
impl<T> ResponseExt<T> for http::Response<T> {
fn body_reader(self) -> BodyReader<T> {
BodyReader::from(self)
}
}