PackageTrack
Sign in Get early access

futures-locks

Futures-aware lock primitives

0.7.1 12M downloads/mo #2763 most downloaded on crates.io asomers/futures-locks

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Release timing varies

gaps range from 9 days to 1.2 years

Nearly every release is documented

notes for 12 of 13 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

13 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

13 releases · Jun 2018 to Dec 2022
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. 0.7.1 07 Dec 2022
    Release notes

    (cargo-release) futures-locks version 0.7.1

    Open source →
    Release notes
    • The published package on crates.io now includes functional tests. No user-visible changes. (#53)
    Open source →
  2. 0.7.0 19 Nov 2021
    Release notes

    (cargo-release) futures-locks version 0.7.0

    Open source →
    Release notes

    Added

    Changed

    • Updated to Tokio 1.0. Crates needing Tokio 0.2 must stay on the 0.6 branch. (#42)

    • Mutex::try_lock, RwLock::try_read, and RwLock::try_write, now return a dedicated error type instead of (), and it implements std::error::Error. (#41)

    Fixed

    • Fixed a soundness issue with RwLock: it shouldn't implement Sync unless its inner type also does. (#45)

    Removed

    Open source →
  3. 0.6.0 07 Sep 2020
    Release notes

    (cargo-release) futures-locks version 0.6.0

    Open source →
    Release notes

    Added

    Changed

    • Updated to std::future. futures-locks no longer works with futures-0.1. For futures-0.1-based applications, continue to use the 0.5 branch. Most methods have similar interfaces. However, the IntoFuture trait no longer exists in the std::future world. And Future<T> doesn't implement From<T> (though I don't know why it couldn't). So Mutex::with, RwLock::with_read, and RwLock::with_write now take closures that return impl Future, instead of impl IntoFuture. Closure arguments that used to return something like Result<T, E> should now return futures::future::ready<Result<T, E>> instead.

    Fixed

    Removed

    Open source →
  4. 0.5.0 04 Nov 2019
    Release notes

    (cargo-release) futures-locks version 0.5.0

    Open source →
    Release notes

    Added

    • Derived Default for Mutex and RwLock (#22)

    Changed

    • Minimum compiler version has increased to 1.32.0 (#28)

    Fixed

    • Fixed panics after an unready Future gets dropped (#24)
    Open source →
  5. 0.4.0 24 Aug 2019
    Release notes

    (cargo-release) version 0.4.0

    Open source →
    Release notes

    Added

    • Added Mutex::ptr_eq() (#20)
    • Added MutexWeak (#17)
    Open source →
  6. 0.3.3 30 Jan 2019
    Release notes

    (cargo-release) version 0.3.3

    Open source →
  7. 0.3.2 30 Jan 2019
    Release notes

    (cargo-release) version 0.3.2

    Open source →
    Release notes

    Changed

    • Better documentation (#15)
    Open source →
  8. 0.3.1 26 Dec 2018
    Release notes

    (cargo-release) version 0.3.1

    Open source →
    Release notes

    Changed

    • Minimum compiler version has increased to 1.31.0 (#10)
    • futures-locks only depends on tokio crates tokio-current-thread and tokio-executor when built with the tokio feature. (#10)
    Open source →
  9. 0.3.0 28 Jun 2018
    Release notes

    (cargo-release) version 0.3.0

    Open source →
    Release notes

    Added

    • Added Mutex::with_local, RwLock::with_read_local, and RwLock::with_write_local for non-Send Futures. (#7)

    Changed

    • Mutex::with, RwLock::with_read, and RwLock::with_write now require their Futures to be Send. They also can return errors. (#7)
    • Methods enabled with the tokio feature now return a Future type equivalent to the one returned by the provided closure. (#6)

    Fixed

    • Mutex::with, RwLock::with_read, and RwLock::with_write now work with all Tokio Runtimes. (#7)
    Open source →
  10. 0.2.1 18 Jun 2018
    Release notes

    (cargo-release) version 0.2.1

    Open source →
    Release notes

    Changed

    • Tokio support is now enabled by default.
    Open source →
  11. 0.2.0 18 Jun 2018
    Release notes

    Added

    • Added methods for running critical code in its own task. These methods require Tokio. (#3)
    • Implemented Future for all future types, even when the wrapped type is unsized.
    Open source →
  12. 0.1.1 07 Jun 2018
    Release notes

    Added

    Changed

    • Futures should do nothing until polled. (#2)
    • Fixed potential deadlocks when dropping Futures without first polling them. (#1)

    Fixed

    Removed

    Open source →
  13. 0.1.0 05 Jun 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive