scopeguard
1.2.0A 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.
Package
- Registry
- crates.io
- Repository
bluss/scopeguard
- Documentation
- https://docs.rs/scopeguard/
Terms and attribution
- License
MIT OR Apache-2.0
- Authors
- bluss
- License files
- LICENSE-APACHELICENSE-MIT
Dependency paths
- cms workspace root
- tokio 1.53.1
- parking_lot 0.12.5
- lock_api 0.4.14
- scopeguard 1.2.0
Depended on by
Directly
- lock_api 0.4.14
Through other packages
- cms workspace root
- claude-codes 2.1.223
- html5ever 0.39.0
- markup5ever 0.39.0
- parking_lot 0.12.5
- scraper 0.27.0
- string_cache 0.9.0
- tokio 1.53.1
- web_atoms 0.2.5