当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
4 Star 0 Fork 3

OpenHarmony/third_party_rust_scopeguard
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 681 Bytes
一键复制 编辑 原始数据 按行查看 历史
konsumlamm 提交于 2020-02-02 16:21 . Change macros to accept statements.
[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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_rust_scopeguard.git
git@gitee.com:openharmony/third_party_rust_scopeguard.git
openharmony
third_party_rust_scopeguard
third_party_rust_scopeguard
master

搜索帮助