summaryrefslogtreecommitdiffstats
path: root/tokio-util/src/sync
AgeCommit message (Collapse)Author
2020-10-07util: fix a typo in sync/cancellation_token.rs (#2922)Taiki Endo
2020-10-01time: introduce `sleep` and `sleep_until` functions (#2826)Juan Alvarez
2020-08-23sync: move CancellationToken to tokio-util (#2721)Carl Lerche
* sync: move CancellationToken to tokio-util The `CancellationToken` utility is only available with the `tokio_unstable` flag. This was done as the API is not final, but it adds friction for users. This patch moves `CancellationToken` to tokio-util where it is generally available. The tokio-util crate does not have any constraints on breaking change releases. * fix clippy * clippy again