| Crates.io | droidid |
| lib.rs | droidid |
| version | 0.1.0 |
| created_at | 2025-09-18 06:39:56.427926+00 |
| updated_at | 2025-09-18 06:39:56.427926+00 |
| description | Generate quirky, sci-fi droid-style IDs like R2-D2, M8iwB, or X7qL. Millions of unique, short, human-readable identifiers. |
| homepage | |
| repository | https://github.com/JDPlumbing/droidid |
| max_upload_size | |
| id | 1844300 |
| size | 9,006 |
Created by JDPlumbing
Generate short, quirky droid-style IDs like R2-D2, M8iwB, or X7qL.
Inspired by classic sci-fi naming conventions, droidid gives you millions of unique, human-readable identifiers.
Add to your Cargo.toml:
[dependencies]
droidid = "0.1"
Or install locally for development:
cargo add droidid
In code:
use droidid::generate;
fn main() {
let id = generate();
println!("{}", id); // e.g. "R2-D2"
}
Run the included example CLI:
cargo run --example cli
# Output:
# R2-D2
# M8iwB
# q7-Lp
Some generated IDs:
R2-D2
M8iwB
X7qL
b9-Gh
T3oP
MIT License. See LICENSE for details.