3 unstable releases
0.2.1 | Dec 19, 2022 |
---|---|
0.2.0 | Nov 4, 2021 |
0.1.0 | Sep 29, 2021 |
#153 in HTTP server
2,752 downloads per month
9KB
62 lines
tower-request-id
A tiny tower (hyper, axum, warp etc) service to generate a random id for each incoming request.
Usage
After adding the [RequestIdLayer
] into the axum middlewares the request id is available in
the [http::Request::extensions()
]. For the tracing integration, please refer to the
logging example.
Dependencies
~625KB