Crates.io | kleio-rs |
lib.rs | kleio-rs |
version | 0.1.0 |
source | src |
created_at | 2024-06-23 21:27:20.169254 |
updated_at | 2024-06-23 21:27:20.169254 |
description | A simple, seemingly random, key generator written in Rust |
homepage | https://github.com/einstein8612/kleio |
repository | https://github.com/einstein8612/kleio |
max_upload_size | |
id | 1281440 |
size | 7,495 |
NOTE ⚠️: This code for this library was thrown together within a few minutes as it was necessary for another project to continue. The API and generation methods will most likely be changed drastically (soontm).
Kleio is a small library that generates ids or alphabetical keys that can be used as (almost) unique identifiers that are at the same time seemingly random.
The API for Kleio as it stands right now is very simple. You can start using like this:
use kleio::{generate_key, generate_id};
let key: String = generate_key();
// or
let id: u64 = generate_id();