Skip to main content

Crate hexz_store

Crate hexz_store 

Source
Expand description

Storage backend implementations for Hexz archives.

This crate provides concrete implementations of hexz_core::store::StorageBackend for local files, HTTP/HTTPS, and S3-compatible object storage. It also exposes a ParentLoader helper for opening thin-archive parent chains via ArchiveBackend.

Modules§

http
HTTP/HTTPS storage backend using reqwest with manual redirect following.
local
Local filesystem storage backends.
remote
Transport trait for remote archive storage.
runtime
Shared Tokio runtime for async storage backends.
s3
S3-compatible object storage backend (feature-gated).
utils
URL validation utilities — SSRF prevention for HTTP and S3 backends.

Traits§

StorageBackend
Abstract interface for all byte-addressable archive storage backends.

Functions§

open_local
Opens a Hexz archive from a local file path, resolving any parent chain via ArchiveBackend. This is the standard entry point when working with local archives.
open_local_with_cache
Like open_local but with custom cache and prefetch settings. Like open_local but with custom cache and prefetch settings.