A ULID implementation in Nim!
Go to file
2023-10-29 21:56:08 +00:00
.github/workflows Push new workflow, fix tests, edit README 2023-10-27 20:39:47 +01:00
src Support the usage of Jsony and Debby in projects automatically 2023-10-29 21:56:08 +00:00
tests Push new workflow, fix tests, edit README 2023-10-27 20:39:47 +01:00
.gitignore Fixed doc gen 2023-10-07 23:58:33 +01:00
nulid.nimble Support the usage of Jsony and Debby in projects automatically 2023-10-29 21:56:08 +00:00
README.md Support the usage of Jsony and Debby in projects automatically 2023-10-29 21:56:08 +00:00

NULID

This is an implementation of the ULID spec in Nim!

This supports jsony and debby out of the box too!

Random fun fact: I coded the initial code for ULID generation on my phone via Termux!

Compile Flags

-d:nulidInsecureRandom: Uses std/random instead of std/sysrand.

-d:nulidNoLocks: Disables any usage of locks within the program.

Usage

let gen = initUlidGenerator()
let ulid = gen.ulid()

echo ulid