Within a larger program, I need to listen to incoming HTTP requests when a certain command line option is given. I wonder which crate I could use to open a port and listen to HTTP requests. Which one is recommended?
I've seen there is Actix Web, but I guess this is a larger framework?
Note that my main program isn't
async per-se, but I wouldn't have a problem to spawn an async runtime for the purpose of the web server. I guess I can still use Actix Web in that case?
Any alternatives, or what are the recommendations?
After skimming through the docs, I feel like I could make Actix Web work for my purposes. Nonetheless, I would like to rephrase my question:
Are there any other crates in regard to handling HTTP requests, server side, which are worth taking into consideration?