With the new async / await syntax in #Rust, working with futures is easier than ever.
This weekend, I've spent some time rewriting my `async-fetcher` crate with the new syntax. The result is more features, and better performance, at a fraction of the original amount of code.
The new rewrite now supports execution on current-thread runtimes, with optional support for speeding up downloads by using multiple connections to download the same file from multiple URLs.
@mmstick Thanks for sharing this! I'll look through the code and steal the knowledge therein.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.