simple_spawn_blocking 1.1.0

A simple crate to make spawning blocking tasks more ergonomic
Documentation
1
2
3
4
5
6
7
8
//! A simple crate that makes it more ergonomic to spawn blocking tasks and
//! await their completion.

#[cfg(feature = "tokio")]
pub mod tokio;

/// A marker type that is used to signal that a task was cancelled.
pub struct Cancelled;