1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
//! A collection of locking data structures, both thread-safe and //! single-thread-optimized, which use Rust futures instead of //! thread-blocking. //! //! [![](https://img.shields.io/badge/github-qutex-blue.svg)][repo] [![](http://meritbadge.herokuapp.com/qutex)](https://crates.io/crates/qutex) //! //! [repo]: https://github.com/cogciprocate/qutex extern crate crossbeam; extern crate futures; #[cfg(feature = "async_await")] mod async_await; mod qrw_lock; mod qutex; pub use self::qrw_lock::{ FutureReadGuard, FutureWriteGuard, QrwLock, QrwRequest, ReadGuard, RequestKind, WriteGuard, }; pub use self::qutex::{FutureGuard, Guard, Qutex, Request}; #[cfg(feature = "async_await")] pub use async_await::*;