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§
- Download
Report - Information about a completed download.
Enums§
- Ripget
Error - 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§
- Progress
Reporter - 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.