Is there any popular synchronous HTTP crate?

I need a HTTP server crate that respects the following criteria:

  • Synchronous/Threading
  • High Performant
  • Compatible with websocket, especially with tungstenite-rs. (Optional)

I found no popular (according to their github stars) crates for this. It probably doesn't have to be high performant, as I can just implement it all by myself.

Any help on this, I appreciate.

ureq exists and is synchronous. I don't know if it can meet your other needs.

1 Like

What a name, I could've been just found this crate earlier.

Rocket used to be synchronous, but the latest version(s) changed this. If you are willing to use an non-current version, then it could be an option.

1 Like

That looks like just a client. @thebluetropics, you said server, but then you accepted the answer, did you mean client?

2 Likes

Whoops, reading comprehension problem on my part.

3 Likes

I have used rouille for some of my personal projects, and for now it worked pretty well for me.

2 Likes

Yes, I noticed later on when I created a new empty project.

This looks promising, thanks!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.