discard
v1.0.4 GrowingDiscard trait which allows for intentionally leaking memory
Quick Verdict
- ✕Not updated for 7+ years
- ✓Stable API (1.x for 8+ years)
- ✓Trusted by 241 crates
- ✓Tiny footprint (5KB, 0 deps)
- ✓Permissive license (MIT)
Security
Deep Insights
285.8K downloads in the last 30 days (9.5K/day), up 61% from the previous period.
241 crates depend on discard. Reasonable ecosystem adoption, though not yet a core dependency.
The API has been stable (1.x) for over 8 years with 5 releases. This level of maturity means you can depend on it without worrying about breaking changes.
discard has no external dependencies — minimal supply chain risk and fast compile times.
At 5KB, discard is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include stdweb, futures-signals, dominator, awsm_web, dominator_helpers. When high-quality crates choose discard, 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