1[package] 2name = "scopeguard" 3version = "1.1.0" 4 5license = "MIT/Apache-2.0" 6repository = "https://github.com/bluss/scopeguard" 7documentation = "https://docs.rs/scopeguard/" 8authors = ["bluss"] 9 10description = """ 11A RAII scope guard that will run a given closure when it goes out of scope, 12even if the code between panics (assuming unwinding panic). 13 14Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as 15shorthands for guards with one of the implemented strategies. 16""" 17 18keywords = ["scope-guard", "defer", "panic", "unwind"] 19categories = ["rust-patterns", "no-std"] 20 21[features] 22default = ["use_std"] 23use_std = [] 24 25[package.metadata.release] 26no-dev-version = true 27