Skip to main content

Module compat

Module compat 

Source
Expand description

Stable hashing of lib manifests, shapes, and codecs for compatibility checks across versions of the constellation.

Structs§

CodecHash
Digest of a codec’s surface contract, independent of its runtime ids.
ManifestHash
Order-independent, runtime-id-independent digest of a lib manifest.
ShapeHash
Digest of a shape’s stable identity and contract flags.

Functions§

hash_codec
Computes the stable CodecHash of a runtime codec from its surface contract, ignoring runtime-assigned ids.
hash_manifest
Computes the stable ManifestHash of a lib manifest, ignoring declaration order and runtime-assigned ids.
hash_shape
Computes the stable ShapeHash of a shape registered under symbol.