third_party_rust_scopeguard/Cargo.toml
konsumlamm 06f7b5a9a8 Change macros to accept statements.
Change the macros (defer, defer_on_success and defer_on_unwind) to
accept statements instead of just an expression. Update version to "1.1.0".
2020-02-02 16:21:28 +01:00

27 lines
681 B
TOML

[package]
name = "scopeguard"
version = "1.1.0"
license = "MIT/Apache-2.0"
repository = "https://github.com/bluss/scopeguard"
documentation = "https://docs.rs/scopeguard/"
authors = ["bluss"]
description = """
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.
"""
keywords = ["scope-guard", "defer", "panic", "unwind"]
categories = ["rust-patterns", "no-std"]
[features]
default = ["use_std"]
use_std = []
[package.metadata.release]
no-dev-version = true