programatik29 / axum-server

High level server designed to be used with axum framework.
MIT License
177 stars 63 forks source link

add rationale to docs #70

Closed matthiasdebernardini closed 1 year ago

matthiasdebernardini commented 1 year ago

I am curious what the main benefit to running this server instead of the default that axum crate uses.

Why should someone consider using this crate in their web API?

programatik29 commented 1 year ago

Main reason is to use TLS easily and efficiently. Limitations of hyper::server::Server makes it really hard and tricky to efficiently use TLS. This crate solves the problem by providing alternative high level (hyper) server which has a different API.