"I know I'll just write a quick #Rust programme to proxy my http connections and add the header that I want".
Oh cripes, I forgot hyper's now gone weird with Futures and the like.
@ebel As long as you're using the async/await syntax, it's virtually no different that sync code.
You await on async functions, within an async function, with the `await` postfix after the function call. Async functions return futures which you provide to a runtime for execution in non-async functions.
It's a good idea to check out the async-std and runtime crates.
@mmstick yeah, I kinda get that it's supposed to be as easy to use. I've just never used it. I'd like to try to *grok* it. "Fearless concurrency" is supposed to be an advantage, and I'd like to keep up to date
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.