Crate ripget

Crate ripget 

Source
Expand description

Fast, multi-part downloads with a simple API.

ripget prioritizes speed by downloading large files in parallel with HTTP range requests.

§Example

let report = ripget::download_url("https://example.com/large.bin", "large.bin", None, None)
    .await?;
println!("downloaded {} bytes to {:?}", report.bytes, report.path);

Structs§

DownloadReport
Information about a completed download.

Enums§

RipgetError
Error type for ripget operations.

Constants§

BUFFER_SIZE
Fixed read buffer size used for streaming data.
DEFAULT_THREADS
Default number of parallel ranges used by ripget.

Traits§

ProgressReporter
Reports download progress for integrations like CLI progress bars.

Functions§

download_reader
Copy an async reader into a file path.
download_reader_with_progress
Copy an async reader into a file path.
download_url
Download a URL to a file path using parallel range requests.
download_url_with_progress
Download a URL to a file path using parallel range requests with progress.

Type Aliases§

Progress
Shared progress reporter handle.
Result
Result type for ripget operations.