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 2023Releases
latest 11-
1.2.017 Jul 2023Nothing published for this version
-
1.1.016 Feb 2020 -
1.0.019 Dec 2018 -
0.3.313 Oct 2017 -
0.3.221 Jan 2017 -
0.3.111 Dec 2016Nothing published for this version
-
0.3.011 Dec 2016 withdrawnNothing published for this version
-
0.2.023 Jun 2016Nothing published for this version
-
0.1.223 Feb 2016Nothing published for this version
-
0.1.103 Sep 2015Nothing published for this version
-
0.1.030 Apr 2015Nothing published for this version