Module assets
Expand description
Deterministic cooked bundles with bounded parsing and transactional hot reload.
The original RLE codec is intended for flat-color assets, not general-purpose compression.
Each bundle permits 4096 paths (240 bytes each) and 64 MiB of decoded payload.
Retained Arc readers keep old generations alive; the limit is per bundle, not global.
Checksums detect corruption and provide no authentication or encryption.
Checked lookups normalize authoring paths; legacy operations and the wire format
continue to require canonical paths. Checked live updates validate before publication.
Bundle::manifest exposes sorted, borrowed metadata for tooling without
encoding a bundle or copying its payloads.
Structs§
- Asset
Edit Error - The first failed edit. Earlier edits in the transaction were rolled back.
- Asset
Manifest Entry - Read-only metadata for one asset, produced by
Bundle::manifest. - Bundle
- Bundle
Diff - Sorted content changes from one bundle generation to the next.
- Live
Bundle - Existing readers retain their Arc until the next successful reload is adopted.
Enums§
- Asset
Error - Asset
Lookup Error - A checked lookup failure, with the requested path or canonical asset name.
- Bundle
Update Error - A rejected live update. The active bundle and generation remain unchanged.
Eis the application’s validation error, oftenAssetLookupError.
Functions§
- normalize_
path - Normalize a relative authoring path without consulting the filesystem.