1#![no_std]
2
3#![feature(async_fn_traits)]
5#![feature(impl_trait_in_assoc_type)]
6#![feature(unboxed_closures)]
7
8#![feature(sync_unsafe_cell)]
9#![feature(try_trait_v2)]
10#![feature(type_alias_impl_trait)]
11
12#[cfg(test)]
13extern crate std;
14
15pub mod async_lock;
16pub mod async_mutex;
17pub mod cancellation;
18pub mod never_cancel;
19pub mod ok_or;
20pub mod sync_lock;
21pub mod sync_mutex;
22pub mod sync_tasks;
23
24pub mod preludes {
25 pub use super::async_lock::TrAsyncRwLock;
26 pub use super::async_mutex::TrAsyncMutex;
27 pub use super::cancellation::{TrCancellationToken, TrMayCancel};
28 pub use super::ok_or::{OkOr, XtOkOr};
29 pub use super::sync_lock::TrSyncRwLock;
30 pub use super::sync_mutex::TrSyncMutex;
31 pub use super::sync_tasks::TrSyncTask;
32}