Content-addressable serialization for CJC values.
cjc-snap provides deterministic binary encoding of Value types with
SHA-256 content hashing. Zero external dependencies -- the SHA-256
implementation is hand-rolled following FIPS 180-4.
Overview
Value ──snap_encode──> bytes ──sha256──> hash
◄──snap_decode──
The high-level API is snap() / restore():
let blob = cjc_snap::snap(&value);
let restored = cjc_snap::restore(&blob).unwrap();