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