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