fallow-report-protocol
This crate holds the report contract that the fallow command-line tools share. A tool that emits a fallow report uses these types, so all reports have the same shape.
The crate contains:
ErrorOutput: the JSON error document that a command writes to stdout when it fails with--format json.GateOutcome,GateStatus,GateFileandGateFileReason: the verdict of one gate on one run.GateOutcomes<K>: the verdict of every gate of one run, keyed by gate name. Each tool supplies its own key type.fallow-outputusesGateOutcomes<GateName>.exit_code: the process exit codes of the contract.fallow-clireadsEXIT_OK,EXIT_GATE_FAILEDandEXIT_INVALID_INPUTfrom this module.REPORT_PROTOCOL_VERSION: the version of the wire contract. No fallow report writes this value yet. It is for tools that consume this crate.
The crate version follows the fallow release. The wire version is
REPORT_PROTOCOL_VERSION, not the crate version.
Enable the schema feature to derive schemars::JsonSchema for each type.
The crate depends on no other fallow crate and on no JavaScript type.
License
MIT