PackageTrack
Sign in Get early access

scopeguard

A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as shorthands for guards with one of the implemented strategies.

1.2.0 883M downloads/mo #65 most downloaded on crates.io bluss/scopeguard

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 6 weeks to 3.4 years

Some releases are documented

notes for 4 of 10 stable releases

1 version withdrawn

withdrawn after publishing

11 years old

11 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

11 releases · Apr 2015 to Jul 2023
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 11
  1. 1.2.0 17 Jul 2023

    Nothing published for this version

  2. 1.1.0 16 Feb 2020
    Release notes

    (cargo-release) scopeguard version 1.1.0

    Open source →
  3. 1.0.0 19 Dec 2018
    Release notes

    (cargo-release) version 1.0.0

    Open source →
  4. 0.3.3 13 Oct 2017
    Release notes

    (cargo-release) version 0.3.3

    Open source →
  5. 0.3.2 21 Jan 2017
    Release notes

    (cargo-release) version 0.3.2

    Open source →
  6. 0.3.1 11 Dec 2016

    Nothing published for this version

  7. 0.3.0 11 Dec 2016 withdrawn

    Nothing published for this version

  8. 0.2.0 23 Jun 2016

    Nothing published for this version

  9. 0.1.2 23 Feb 2016

    Nothing published for this version

  10. 0.1.1 03 Sep 2015

    Nothing published for this version

  11. 0.1.0 30 Apr 2015

    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