//! Capturing log events using a [log] implementation. //! //! [log]: https://github.com/rust-lang/log fn main() -> Result<(), ratmom::Error> { env_logger::init(); let mut response = ratmom::get("https://example.org")?; // Consume the response stream quietly. std::io::copy(response.body_mut(), &mut std::io::sink())?; Ok(()) }