Skip to main content

Crate tower_request_id_nano

Crate tower_request_id_nano 

Source
Expand description

A tiny tower (hyper, axum, warp etc) service to generate a random id for each incoming request.

This crate is a fork of tower-request-id crate that uses Nano ID instead of ULID.

Structsยง

RequestId
A newtype around nid::Nanoid<21, Base62Alphabet>
RequestIdLayer
Layer to apply RequestIdService middleware.
RequestIdService