Crates.io | rowid |
lib.rs | rowid |
version | 0.5.1 |
created_at | 2024-06-22 15:37:24.787216+00 |
updated_at | 2025-05-28 11:42:43.183242+00 |
description | A time-based unique ID solution |
homepage | https://github.com/alpheusday/rowid.rs |
repository | https://github.com/alpheusday/rowid.rs |
max_upload_size | |
id | 1280521 |
size | 30,108 |
A time-based unique ID solution.
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.