Vigia

crates.io · crates:scopeguard

scopeguard active

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.

Latest stable version1.2.0
Published2023-07-17 13:47:53 UTC
Installcargo add scopeguard
Minimum Rust version (rust-version)none declared
LicenseMIT OR Apache-2.0
Advisories on latest versionnone known
Last verified2026-10-08 19:49:28 UTC
Sourcesapi.osv.dev, crates.io

Maintenance

Activitydormant
Last stable release2023-07-17 13:47:53 UTC · 1179 days ago
Stable releases in the last 12 months0
Published versions11

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
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 withdrawn2016-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

Showing the 11 most recent of 11 versions. JSON

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

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

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of scopeguard?

The latest stable version of scopeguard is 1.2.0, published on 2023-07-17. Verified by Vigia on 2026-10-08.

How do I install the latest version of scopeguard?

Run cargo add scopeguard. The latest stable version is 1.2.0 (verified 2026-10-08).

Is scopeguard deprecated?

No. scopeguard is not marked as deprecated in the registry.

Which Rust version does scopeguard require?

scopeguard 1.2.0 does not declare a Rust version requirement.

Does scopeguard 1.2.0 have known vulnerabilities?

No known advisories affect scopeguard 1.2.0 according to the data Vigia checks.

Is scopeguard still maintained?

scopeguard published 0 stable releases in the last 12 months; the most recent was 1179 days ago. Activity: dormant.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the 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)

For agents

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