4 ms·
> Yes, async is effectively a much harder version of Rust, and it's regrettable how it's been shoved down the throats of everyone, while only 1% of projects usi
by Animats 3y ago
> Yes, async is effectively a much harder version of Rust, and it's regrettable how it's been shoved down the throats of everyone, while only 1% of projects using it really need it.
Yes. I just noticed that Tokio was pulled into my program as a dependency. Again. It's not being used, but I'm using a crate which has a function I'm not using which imports reqwest, which imports h2, which imports tokio.
- grug_htmx_dev 3y agoExactly, because something somewhere needs to make one http call, and it's would be impossible if it wasn't done with scalable async executor. /i
- Klonoar 3y agoPR them to use ureq. ;)
- wrapperup 3y agoI recently did this in a relatively small crate, and it halved the dependencies. Highly recommended if you don't need async.