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

Yes.

Part of the problem is there are so many, which do you choose?

I found one (I forget the name to protect the guilty) but my simple use case broke it.

I reached out to the authors, very helpful, I think they fixed it.

But by then I had moved on (time is money)

I sucked it up and went with importing all the tokio stuff I did not need (I absolutely did not need, almost no one does)

Rust has painted itself into a corner. A really very good idea at its core, almost all of it is really terrific, but some corner cases like these make it very hard to take advantage of it



Deciding which one to try isn't hard at all: `ureq` is the de-facto small HTTP library that you'd reach for, and you're likely to find people referencing it within 2 minutes of Googling. The only thing `ureq` was missing that's common (ish) was a happy eyeballs implementation, and they've recently handled it.

This just isn't a significant problem at all.


> Deciding which one to try isn't hard at all

Nonsense.

If you are steeped in HTTPS clients for Rust, maybe, but I can tell you from personal experience that coming fresh to https://crates.io/search?q=https%20client and friends is overwhelming


A few minutes in Google would've saved you that confusion, same way it works for any other package manager.




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

Search: