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

pub use crate::{sink::SinkExt as _, stream::TryStreamExt as _};