Skip to main content

Crate touchstone_harness

Crate touchstone_harness 

Source
Expand description

touchstone-harness: drives adapters, collects check results, scores runs.

Two adapter shapes are supported:

  • Adapter — an in-process Rust trait for native implementations
  • ExecAdapter — any executable printing newline-delimited JSON check results on stdout (the language-agnostic spec protocol, SPEC.md §5)

Structs§

ExecAdapter
An external adapter binary speaking the newline-JSON protocol.

Enums§

HarnessError
Errors from driving an adapter.

Constants§

SPEC_CHECKS
The checklist itself — the spec rendered as data, for touchstone spec.

Traits§

Adapter
In-process adapter trait. Implement this to conform a subject natively.

Functions§

attest
Score a collected run into an attestation (unsigned).