Rust-Cancellation is a small Rust crate that provides the CancellationToken type
that can be used to signal cancellation to other code in a composable manner.
Copyright (c) 2016 Daniel Grunwald. MIT license.
To use cancellation, add this to your Cargo.toml:
toml
[dependencies]
cancellation = "0.1"
For more information, see the documentation