rowid

Crates.iorowid
lib.rsrowid
version
sourcesrc
created_at2024-06-22 15:37:24.787216+00
updated_at2025-01-28 05:35:08.19284+00
descriptionA time-based unique ID solution
homepagehttps://github.com/alpheustangs/rowid.rs
repositoryhttps://github.com/alpheustangs/rowid.rs
max_upload_size
id1280521
Cargo.toml error:TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Alpheus (alpheustangs)

documentation

README

RowID

A time-based unique ID solution.

Quick Start

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();

License

This project is licensed under the terms of the MIT license.

Commit count: 18

cargo fmt