Snowferris is a open-sourced, ISC-licensed library implementing various (distributed) unique ID formats.
Add this package to the dependency section in Cargo.toml. Make sure to enable features that you're gonna use it in your projects.
Currently, we support
snowflake
sno
sandflake
ksuid
xid
nanoid
[x] nanoid
[ ] Snowflake - I don't think this is possible due to the sequence
field in snowflake data.
refer to this
Some bits of the Snowflake module was inspired from iCrawl/rustflake (github). nanoid implementation is based on nikolay-govorov/nanoid.