Axum
4 posts on Axum.

Axum "Handler<_, _> Is Not Satisfied": Eight Causes, Eight Repros
The trait bound fn(...): Handler<_, _> is not satisfied looks the same whatever you broke. I reproduced eight causes on axum 0.8.9, ran each one with and without #[axum::debug_handler], and wrote down the line that names the cause and the fix.
11 min read

GLIBC_2.38 Not Found: a Rust Binary in debian-slim and Distroless
My Axum binary built on rust:1 ran fine on bookworm-slim. Then I added vendored OpenSSL and it died before main with version GLIBC_2.38 not found. How to read the error, the objdump line that explains it, and three fixes I built and measured.
11 min read

SIGTERM, Not SIGKILL: Graceful Shutdown in Axum
Ctrl+C and docker compose stop both killed my axum server on the spot. How with_graceful_shutdown and tokio::select! let it finish what it started, the copied line that quietly disabled it, and a request that outlived the signal.
5 min read

Liveness vs Readiness in Axum, and the Health Check That Always Said OK
My readiness endpoint answered 200 with the database gone, because a handler with no return type answers 200. Two health checks in axum that mean different things, an empty 503, and tests that call the router without opening a port.
5 min read