Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Exactly, 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


PR them to use ureq. ;)


I recently did this in a relatively small crate, and it halved the dependencies. Highly recommended if you don't need async.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: