Skip to main content

Crate hara_hta

Crate hara_hta 

Source
Expand description

Dependency-free canonical HTA0 codec for portable Hara ABI values.

hara-hta deliberately operates on hara_abi::Value rather than the executable runtime value graph. It is suitable for native providers, package tooling, embedding hosts, and durable state boundaries that need canonical Hara bytes without linking the VM, Wasmtime, or host services.

Modules§

view
Borrowed structural views over exact HTA0 frames.

Constants§

MAGIC
MAX_FRAME_BYTES
MAX_NESTING_DEPTH

Functions§

decode
Decode only values representable by the stable provider ABI subset.
decode_canonical
decode_immutable
Decode one exact canonical HTA0 frame into a portable value.
decode_immutable_canonical
Decode one portable HTA0 value only when the supplied bytes are bounded and already use the exact canonical encoding produced by encode.
encode
Encode the stable provider ABI subset using the full immutable codec.
encode_immutable
Encode one portable value as an exact canonical HTA0 frame.