puid
A unique ID generator using a given prefix with ch_
-style.
The ID is a composition of:
- Prefix.
- Underscore character.
- Timestamp turned into Base-36.
- A u8 type counter.
- The OS-assigned process identifier turned into Base-36.
- Sequence the random characters.
Examples
Using the default random length
use puid;
Using custom random length
use puid;