cancellation 0.1.0

A C#-like CancellationToken for Rust
Documentation
  • Coverage
  • 83.33%
    10 out of 12 items documented1 out of 12 items with examples
  • Size
  • Source code size: 833.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 479.7 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • dgrunwald/rust-cancellation
    18 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dgrunwald

rust-cancellation Build Status

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.

Usage

To use cancellation, add this to your Cargo.toml:

[dependencies]
cancellation = "0.1"

For more information, see the documentation