-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplifying the dependency tree #195
Comments
Hi Emil, thanks! Sounds interesting, but last time when I was choosing between two, |
Awesome! Yeah, it will require some work for sure. What do you mean by "support multiple downloads" though? Downloading multiple files in a single HTTP GET? |
A possible avenue might be to split the tile download/cache part from the rendering part, and make the former optionally swappable by a custom implementation. |
I believe this issue would be a prerequisite to using |
Multiple connections. There's a test for it. It's ridiculously slow without it. |
Hey, I'm currently working on this. The plan is to completely replace |
Well, it's probably a good idea to run io on a separate thread, but walkers have 6 parallel download streams/connections. Starting 6 threads would be a too much bloat in my opinion, so Unless @emilk and @abey79 are fine with this, then we could put it behind a feature or something. |
Hello, and thanks for an awesome crate!
I'm interested in replacing the use of
reqwest
withehttp
.The advantage is a lot less dependencies.
reqwest
brings in a huge tree of dependencies, includingtokio
, whileehttp
depends only on the minimalureq
. This in turn translates to faster compile times and smaller binaries.Would you be open to a PR making such a change?
The text was updated successfully, but these errors were encountered: