snowferris

Crates.iosnowferris
lib.rssnowferris
version1.0.2
sourcesrc
created_at2021-08-02 15:14:21.062934
updated_at2022-02-13 04:10:22.272963
descriptionvarious unique ID formats for Rust
homepage
repositoryhttps://git.sr.ht/~zachel/snowferris
max_upload_size
id430481
size24,418
(sefidel)

documentation

README

snowferris

builds.sr.ht status

Snowferris is a open-sourced, ISC-licensed library implementing various (distributed) unique ID formats.

Usage

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
nanoid

and plan to support

sno
sandflake
ksuid
xid

Macros

[x] nanoid

[ ] Snowflake - This would potentially cause a conflict between generated snowflake IDs AFAIK.

Contributing

refer to this

Shoutouts

Some bits of the Snowflake module was inspired from iCrawl/rustflake (github). nanoid implementation is based on nikolay-govorov/nanoid.

Commit count: 0

cargo fmt