tower-request-id 0.2.1

A tower (hyper, axum, warp) service to add a unique id for every request
Documentation

version-badge docs-badge license-badge

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.