Skip to main content

Crate vanta_net

Crate vanta_net 

Source
Expand description

vanta-net — HTTP downloads over rustls: resumable, retrying, mirror-aware.

The installer fetches artifacts through a Downloader; bytes stream to a <dest>.part file (resumed via HTTP range on retry) and are atomically renamed into place on success. Verification (checksum/signature) is the caller’s responsibility (vanta-security / vanta-store); this crate only moves bytes. Parallelism is provided by the installer running downloads on worker threads (docs/08-installation.md). See docs/16-performance.md.

Structs§

Downloader
A reusable HTTP downloader.

Type Aliases§

ProgressFn
A callback invoked with the number of bytes newly written to the destination as a download streams in. Used to drive a progress bar without this crate depending on a UI crate. Reported incrementally, chunk by chunk.