cancel_safe_futures/prelude.rs
1//! A "prelude" for crates using the `cancel-safe-futures` crate.
2//!
3//! This prelude is similar to the [standard library's prelude] in that you'll
4//! almost always want to import its entire contents, but unlike the
5//! standard library's prelude you'll have to do so manually:
6//!
7//! ```
8//! # #[allow(unused_imports)]
9//! use cancel_safe_futures::prelude::*;
10//! ```
11//!
12//! The prelude may grow over time as additional items see ubiquitous use.
13//!
14//! [standard library's prelude]: https://doc.rust-lang.org/std/prelude/index.html
15
16pub use crate::{sink::SinkExt as _, stream::TryStreamExt as _};