rustio rustio.net
48

mockalloc

v0.1.2 Growing

A crate to allow testing code which uses the global allocator.

MIT OR Apache-2.0 Edition 2018
Development tools::TestingMemory management #test#memory#mock#allocation#leak

Quick Verdict

  • โœ•Not updated for 5+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (9KB, 2 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
22.5K
Dependents
44
Releases
3
Size
9KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

1.9K downloads in the last 30 days (65/day), up 115% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿชถ
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include proxy-wasm, ijson, jsonb, array-bin-ops, feldera-ijson. When high-quality crates choose mockalloc, it's a strong quality signal.

Health Breakdown

Maintenance 4/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
38/day avg+159%
05010015020025012/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.1.2
88%
v0.1.1
6%
v0.1.0
6%

Release Timeline

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

Feature Flags

tracing

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
44
crates depend on mockalloc

Similar Crates