Skip to main content

uor_addr/cbor/shapes/
mod.rs

1//! Substitution-axis selections for the CBOR realization.
2//!
3//! - [`crate::bounds::AddrBounds`] — the `HostBounds` profile.
4//! - [`Sha256Hasher`] — the default `Hasher<32>` σ-axis, re-exported from
5//!   `prism::crypto`. The other admissible axes ([`crate::hash`]) are
6//!   selected via the `address_<algorithm>` entry points.
7//!
8//! `HostTypes` is bound to `prism::vocabulary::DefaultHostTypes` at the
9//! `AddressModel` declaration site; `ResolverTuple` lives in
10//! [`crate::resolvers`] as `AddressResolverTuple`.
11
12pub mod bounds;
13
14pub use bounds::MAX_CBOR_DEPTH;
15/// Default `Hasher<32>` selection for the CBOR address-derivation pipeline.
16pub use prism::crypto::Sha256Hasher;