I'm afraid you can't. HttpServer will always start at least one worker thread per address you bind your server to. You can limit your example to a worker thread and the main thread, but not to just the main thread using HttpServer::workers:
Axum is quite similar to Actix-web. Warp is also pretty popular. Both are build on top of hyper and you can run them in a single-threaded tokio runtime.