scopeguard

crates.io v1.2.0

8,723,053 weekly downloads · 0 依存数

2年以上リリースなし依存ゼロ

出典データ取得時点:

概要

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!, deferonunwind!, deferonsuccess! as shorthands for guards with one of the implemented strategies.

インストール cargo add scopeguard

レジストリの値

公式レジストリの値を、各値ごとに出典を明記してそのまま再掲しています。

週間DL数 8,723,053 出典: crates.io (Rust)
リリース数 11 最終リリース: 2023-07-17 出典: crates.io (Rust)
依存数 0 出典: crates.io (Rust)

説明

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!, deferonunwind!, deferonsuccess! as shorthands for guards with one of the implemented strategies.

レジストリ提供の説明をプレーンテキストに整形したものです。出典: crates.io (Rust)。

元の説明文(未整形)を表示
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.

パッケージ詳細

パッケージ
scopeguard
レジストリ
crates.io
バージョン
1.2.0
週間DL数
8,723,053 (weekly)
依存数
0
リリース数
11
最終リリース
2023-07-17
初回公開
2015-04-30
キーワード
scope-guard, defer, panic, unwind
リポジトリ
https://github.com/bluss/scopeguard

「—」が表示される理由: 「—」は、そのパッケージについて出典レジストリが値を公開していないことを意味します。Quantetaは推測値を埋めません。欠損は空欄のままにしています。

派生指標(算出方法を公開)

以下のレジストリの値からQuantetaが算出した指数です。測定値ではなく派生指標です。算出式は「データと出典」ページに掲載しています。

Q-Vitality Quanteta 52.7 / 100 メンテナンス活発度の指数(リリース頻度+DL水準)。
Q-Trust Quanteta 25.9 / 100 普及・安定度の指数(コミュニティ規模+DL安定性+経過年数)。
Q-Risk Quanteta 49.7 / 100 依存表面の指数。高いほどリスク要因が多い。

データと出典