| Crates.io | bucket_dl |
| lib.rs | bucket_dl |
| version | 0.2.0 |
| created_at | 2025-04-09 21:20:13.120509+00 |
| updated_at | 2025-04-12 03:06:39.00384+00 |
| description | A multithreaded downloader with the purpose of faster downloads by splitting it into several requests, rebuilding the data client-side. |
| homepage | |
| repository | https://github.com/Pybounce/bucket_dl |
| max_upload_size | |
| id | 1627332 |
| size | 64,976 |
[!Warning] This is still a work in progress. Yes there are issues, everything is okay.
A multithreaded downloader with the purpose of faster downloads by splitting it into several requests, rebuilding the data client-side.
[!Note] For more detailed usage, look at the examples/ directory.
let mut client = DownloadClient::init(&url, &file_path);
if let Ok(_) = client.begin_download().await {
let mut stream = client.progress_stream();
while let Some(bucket_progress) = stream.next().await {...}
match client.status() {
DownloadStatus::Finished => {...},
_ => {...}
}
}
[!Warning] Always remember to check the status of the download, even after exhausting the progress updates.