Expand description
APR format core I/O — re-export seam over the sovereign apr-format leaf.
Issue #2231: the v1 container save/load/inspect path moved to the apr-format
leaf crate. This module re-exports the leaf’s public API so existing
aprender::format::* paths keep resolving, and keeps the framework-only bits
that genuinely depend on aprender-core (the bundle::MappedFile-backed
load_mmap, and the feature-gated encryption/signing helpers, which pull
aes_gcm / argon2 / ed25519_dalek).
Constants§
- MMAP_
THRESHOLD - Threshold for switching to mmap loading (1MB).
Functions§
- inspect
- Inspect a model file without loading the payload. Delegates to the leaf.
- inspect_
bytes - Inspect model bytes without loading the payload. Delegates to the leaf.
- load
- Load a model from a
.apr(v1APRN) file. Delegates to the sovereign leaf. - load_
auto - Load with automatic strategy selection based on file size. Delegates to the leaf.
- load_
from_ bytes - Load a model from a byte slice. Delegates to the sovereign leaf.
- load_
mmap - Load a model using memory-mapped I/O via
aprender’sbundle::MappedFile. - save
- Save a model to
.apr(v1APRN) format. Delegates to the sovereign leaf.