qualia_core_db/bundle/stream/descriptor/
mod.rs1mod cbor;
3mod digest;
4mod inventory;
5mod pages;
6mod refs;
7mod roots;
8mod types;
9pub use digest::{DigestDomain, HASH_SCRATCH_BYTES, domain_digest};
10pub use inventory::InventoryVerifier;
11pub use pages::{
12 decode_context_page, decode_entry_page, encode_context_page_into, encode_entry_page_into,
13};
14pub use refs::PageRefsView;
15pub use roots::{
16 BodyInput, BodyView, ContextInput, ContextView, body_encoded_len, context_encoded_len,
17 decode_body, decode_context, encode_body_into, encode_context_into,
18};
19pub use types::{
20 CandidateIdentity, ContextEntry, ContextPageHeader, ContextParameters, DescriptorError,
21 EntryPageHeader, EntryRecord, LEAF_BYTES, MAX_ENCODED, MAX_ENTRIES, MAX_METADATA, MAX_PAGES,
22 PAGE_ROWS, PROFILE, PageRef, SourceCommit,
23};
24pub(crate) use types::{check_ref, pages_for};
25#[cfg(test)]
26mod tests;