You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah ok, we probably need to wait then, though somebody could go ahead and overhaul the code such that it supports only curl and reqwest, so reqwest can be switched on later.
However, I can't find a way to measure the progress of files that are being downloaded, and I don't think reqwest supports reporting the download progress yet.
I believe a feature like this is desired, as the current download implementation in rustup also reports the download progress.
Edit: apparently it is possible using the implemented Read trait over the reqwestResponse object, in a similar fashion as thishyper implementation. Although it seems quite hacky.
We've been using reqwest by default for a while now, but there're still some issues on odd minority platforms which we haven't solved which means curl based downloads are currently still needed. I'll keep an eye on this.
@djc Not yet; it's about the download crate. The end goal, of course, is that download crate becomes a part of our single crate. I've done that linking for you.
Activity
jelford commentedon Mar 17, 2017
One thing to mention, I notice proxy support is still a work in progress (seanmonstar/reqwest#30).
brson commentedon Mar 17, 2017
Ah ok, we probably need to wait then, though somebody could go ahead and overhaul the code such that it supports only curl and reqwest, so reqwest can be switched on later.
Support resumption of partial downloads
timvisee commentedon Mar 19, 2018
It seems that proxy support has been added a while back, see: seanmonstar/reqwest#152
However, I can't find a way to measure the progress of files that are being downloaded, and I don't think
reqwestsupports reporting the download progress yet.I believe a feature like this is desired, as the current download implementation in
rustupalso reports the download progress.Edit: apparently it is possible using the implemented
Readtrait over thereqwestResponseobject, in a similar fashion as thishyperimplementation. Although it seems quite hacky.kinnison commentedon Oct 29, 2019
We've been using
reqwestby default for a while now, but there're still some issues on odd minority platforms which we haven't solved which means curl based downloads are currently still needed. I'll keep an eye on this.rami3l commentedon Jun 9, 2024
Looks like a perfect final step for #3790! I've added this to the task list.
djc commentedon Apr 4, 2025
I think we can close this now? We're using reqwest by default, which IMO is good enough to cover the original ask here.
rami3l commentedon Apr 4, 2025
@djc Not yet; it's about the
downloadcrate. The end goal, of course, is thatdownloadcrate becomes a part of our single crate. I've done that linking for you.