# Cargo.toml [dependencies] futures = "0.1.20" futures-locks = "0.3"
Generally, the provided primitives work much like their counterparts from the standard library. But instead of blocking until ready, they return Futures which will become ready when the lock is acquired. See the doc comments for individual examples.
futures-locks requires Rust 1.31.0 or higher.
futures-locks is primarily distributed under the terms of both the MIT license
and the Apache License (Version 2.0), with portions covered by various BSD-like
See LICENSE-APACHE, and LICENSE-MIT for details