Skip to main content

Crate secunit_capture

Crate secunit_capture 

Source
Expand description

secunit-capture — native upstream capturers (AWS, GitHub, dependency audits, generic HTTP).

Every capturer writes a canonical envelope shaped { capturer, version, captured_at, args, result } with sorted arrays, ISO-8601 UTC timestamps, and ephemeral fields (request ids, pagination tokens) stripped, so two runs of the same fixture round-trip byte-identically.

Modules§

canonical
Canonical envelope shared by every capturer.
schema
Embedded JSON schemas for every capturer envelope. Schemas live in crates/secunit-capture/schemas/capture-*.schema.json and are baked into the binary via include_str!.
time
Time source for capture envelopes. Real wall clock by default; can be pinned for deterministic test output via either:

Functions§

enabled_features
Compile-time list of features actually enabled in this build.