Skip to main content

Crate tuff_hooks_spec

Crate tuff_hooks_spec 

Source
Expand description

Canonical hook metadata for Tuff-standard hooks.

This crate models the stable vocabulary Tuff uses when a hook is authored in Tuff’s manifest format and then rendered by an adapter into a native harness format. It does not model native harness hook fragments; those remain adapter-owned passthrough data.

Structs§

CompatibilityEntry
Compatibility for one canonical event on one adapter.
CompatibilityMatrix
Static adapter compatibility data.
HookEventSpec
Canonical event metadata.
PayloadField
A field expected in a hook payload.
PayloadSchema
A structured descriptor for a canonical event payload.

Enums§

BlockingScope
What a hook can block when a handler returns a blocking result.
CoverageLevel
Adapter support level for a canonical event.
HookEvent
Canonical Tuff hook events.
PayloadValueType
Payload type names used by PayloadField.

Constants§

COMMON_PAYLOAD_FIELDS
Common payload fields available to most Tuff-standard hooks.
EVENT_SPECS
Current canonical event metadata.
SPEC_VERSION
Current version of the Tuff hook specification.