Vigia

crates.io · crates:scopeguard

scopeguard 活跃

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.

最新稳定版本1.2.0
发布时间2023-07-17 13:47:53 UTC
安装cargo add scopeguard
最低 Rust 版本 (rust-version)未声明
许可证MIT OR Apache-2.0
最新版本的安全公告暂无已知
最近核实2026-10-08 19:49:28 UTC
来源api.osv.dev, crates.io

维护情况

活跃度停滞
最近的稳定版本2023-07-17 13:47:53 UTC · 1179 天前
过去 12 个月的稳定版本数0
已发布版本数11

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
1.2.02023-07-17 13:47:53 UTC
1.1.02020-02-16 22:54:35 UTC
1.0.02018-12-19 08:01:13 UTC
0.3.32017-10-13 16:56:43 UTC
0.3.22017-01-21 10:32:18 UTC
0.3.12016-12-11 16:15:56 UTC
0.3.0 已撤回2016-12-11 16:13:57 UTC
0.2.02016-06-23 09:46:25 UTC
0.1.22016-02-23 23:27:08 UTC
0.1.12015-09-03 14:54:38 UTC
0.1.02015-04-30 12:04:48 UTC

显示 11 个版本中最新的 11 个。 JSON

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

scopeguard 的最新版本是什么?

scopeguard 的最新稳定版本是 1.2.0,发布于 2023-07-17。Vigia 于 2026-10-08 核实。

如何安装 scopeguard 的最新版本?

运行 cargo add scopeguard。最新稳定版本是 1.2.0(2026-10-08 核实)。

scopeguard 是否已弃用?

否。注册表中 scopeguard 未被标记为已弃用。

scopeguard 需要哪个版本的 Rust?

scopeguard 1.2.0 未声明对 Rust 版本的要求。

scopeguard 1.2.0 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 scopeguard 1.2.0。

scopeguard 是否仍在维护?

scopeguard 在过去 12 个月内发布了 0 个稳定版本,最近一次在 1179 天前。活跃度:停滞。

观察到的变更

自 Vigia 开始跟踪此软件包以来,尚未观察到变更。

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

[![version](https://vigia.coredls.cloud/badge/crates/scopeguard/version.svg)](https://vigia.coredls.cloud/crates/scopeguard)
[![maintained](https://vigia.coredls.cloud/badge/crates/scopeguard/maintained.svg)](https://vigia.coredls.cloud/crates/scopeguard)
[![status](https://vigia.coredls.cloud/badge/crates/scopeguard/status.svg)](https://vigia.coredls.cloud/crates/scopeguard)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/crates/scopeguard
GET https://vigia.coredls.cloud/v1/packages/crates/scopeguard/versions/{version}