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 version | 1.2.0 |
|---|---|
| Published | 2023-07-17 13:47:53 UTC |
| Install | cargo add scopeguard |
| Minimum Rust version (rust-version) | none declared |
| License | MIT OR Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 19:49:28 UTC |
| Sources | api.osv.dev, crates.io |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2023-07-17 13:47:53 UTC · 1179 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 11 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.2.0 | 2023-07-17 13:47:53 UTC |
1.1.0 | 2020-02-16 22:54:35 UTC |
1.0.0 | 2018-12-19 08:01:13 UTC |
0.3.3 | 2017-10-13 16:56:43 UTC |
0.3.2 | 2017-01-21 10:32:18 UTC |
0.3.1 | 2016-12-11 16:15:56 UTC |
0.3.0 withdrawn | 2016-12-11 16:13:57 UTC |
0.2.0 | 2016-06-23 09:46:25 UTC |
0.1.2 | 2016-02-23 23:27:08 UTC |
0.1.1 | 2015-09-03 14:54:38 UTC |
0.1.0 | 2015-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:
[](https://vigia.coredls.cloud/crates/scopeguard) [](https://vigia.coredls.cloud/crates/scopeguard) [](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}