Registry / testing / checkers

checkers

JSON →
library0.7.1rscratesunverified

A sanity checker for global allocations in Rust.

# Cargo.toml [dependencies] checkers = "0.7.1"
INSTALL
IMPORT
SIG · CHECKERS
C
checkers
testingrustv0.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prelude
use checkers::prelude::*;

Use the check attribute to verify allocation behavior in a function.

use checkers::prelude::*; #[check] fn my_function() { let _v = vec![1, 2, 3]; }
Debug
Known issues
gotchaThe check attribute may cause false positives in multi-threaded contexts due to global allocator interference.
fix
Run tests with a single thread or use #[check(thread_local)].
affects: >=0.7.0
Upgrade
Version history
0.7.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
2
Resources
checkers — cargo add checkers · libregistry