A time-based unique ID solution.
To install this package, run the following command:
cargo add rowid
Create an ID with the following code:
use rowid::base::rowid;
let id: String = rowid();
Or start a customization with the following code:
use rowid::with_config::{RowIDWithConfig, RowIDWithConfigResult};
let rwc: RowIDWithConfigResult = RowIDWithConfig::new()
.char_list("0123456789ABCDEFGHJKMNPQRSTVWXYZ")
.randomness_length(22)
.done()
.unwrap();
let id: String = rwc.rowid();
This project is licensed under the terms of the MIT license.