4 ms·
I mean, there's only one http server people actually use, which is hyper. Just like in go where everyone uses net/http, even though fasthttp and so on exist and
by TheDong 4y ago
I mean, there's only one http server people actually use, which is hyper. Just like in go where everyone uses net/http, even though fasthttp and so on exist and everyone just ignores them.
Just like in go, there's also a lot of web frameworks built on top of it (like all the ones listed here for go: https://github.com/mingrammer/go-web-framework-stars https://github.com/mingrammer/go-web-framework-stars)
Just like in go, you can choose not to use any if you want and use hyper directly, or use one that is a quite thin layer on top of hyper like axum.
In terms of async runtimes, just pick tokio and get on with your life. It's the default choice, so picking it is the simplest option.