drop_guard
v0.3.0 GrowingThe drop_guard crate enables you to implement the Drop trait on any type. So you can run a closure on any value running out of scope.
Quick Verdict
- โNot updated for 4+ years
- !Pre-1.0: API may have breaking changes
- โTiny footprint (5KB, 1 deps)
- โPermissive license (MIT/Apache-2.0)
Security
Deep Insights
2.7K downloads in the last 30 days (89/day), up 8% from the previous period.
Despite being 8+ years old, drop_guard hasn't reached 1.0 yet. Expect potential API changes between versions.
Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 5KB, drop_guard is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include helium-crypto, hakuban, gsl_rust, cufft_rust. When high-quality crates choose drop_guard, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on drop_guard