meiid

Crates.iomeiid
lib.rsmeiid
version0.1.2
sourcesrc
created_at2022-03-18 01:08:14.422336
updated_at2022-03-18 01:12:37.57668
descriptionMeiid UUID generator based on current date for rust
homepage
repositoryhttps://github.com/borngraced/meiid-rust/
max_upload_size
id552468
size4,356
ddw (dontdiewondering)

documentation

README

Meiid UUID generator based on current date for rust

All generated uuid are unique in the convention {####-####-year/month/day}, so the chances of encountering a duplicate ID even in external data is 1 in a billion. Also, this module is able to generate 1 million "unique" uuid(s) in 60.5secs

This module makes it easy to generate uuid for database table or wherever you might need one

USAGE:

  1. initializes Meiid struct
  2. generates and returns a unique uuid as string
use rust::Meiid;
let init = Meiid::new();
let id = init.uuid();

id can then be used as you'd like to

ENjoy :)

Commit count: 9

cargo fmt