dirty_static
v0.1.2 GrowingA container for an immutable value that allows sneaky reloading in debug mode (via UnsafeCell) while keeping the data safe and constant in release mode. This allows you to tweak data while testing an application, without having that data be mutable when the application is released. Intended for use with game assets, but suitable for any interactive application.
Quick Verdict
- !Pre-1.0: API may have breaking changes
- โTiny footprint (6KB, 0 deps)
Security
Deep Insights
21 downloads in the last 30 days (1/day), up 50% from the previous period.
Despite being 6+ years old, dirty_static hasn't reached 1.0 yet. Expect potential API changes between versions.
dirty_static has no external dependencies โ minimal supply chain risk and fast compile times.
At 6KB, dirty_static is lightweight. Small crate size correlates with focused, well-scoped functionality.
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