Skip to main content

Crate determinism

Crate determinism 

Source
Expand description

Proc-macro enforcement for typed deterministic code paths.

#[determinism::required] is intentionally dependency-free and conservative: it checks the tagged function’s token stream for a Deterministic<Seed> parameter and rejects common ambient randomness, wall-clock, process, and filesystem sources. The richer fixture scanner in tests/determinism_lint_catches_known_violations.rs remains the detailed contract for the lint’s known violation catalog.

Attribute Macros§

required