rustio rustio.net
45

dirty_static

v0.1.2 Growing

A 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.

CC0-1.0 Edition 2018
Development toolsGamesData structuresConfiguration #static#debug#const#mutable#release

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (6KB, 0 deps)

Security

Checking security advisories...
Downloads
3.9K
Dependents
0
Releases
3
Size
6KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

21 downloads in the last 30 days (1/day), up 50% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 6+ years old, dirty_static hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Zero dependencies

dirty_static has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

At 6KB, dirty_static is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 8/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

Community 6/20

Reverse deps, ownership, ecosystem

Popularity 4/15

Downloads, momentum, growth trend

Documentation 9/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
1/day avg-43%
0123412/301/172/42/223/123/29

Version Adoption

v0.1.1
62%
v0.1.0
35%
v0.1.2
3%

Release Timeline

3 releasessince 2019
J
F
M
A
M
J
J
A
S
O
N
D
2019
2
2020
2021
2022
2023
2024
2025
1
2026
Less
More

Feature Flags

force-staticforce-dynamic

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
0
crates depend on dirty_static

Similar Crates