droidid 0.1.0

Generate quirky, sci-fi droid-style IDs like R2-D2, M8iwB, or X7qL. Millions of unique, short, human-readable identifiers.
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented0 out of 1 items with examples
  • Size
  • Source code size: 8.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 27s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • JDPlumbing/droidid
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • JDPlumbing

droidid

CI

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.


✨ Features

  • Generates IDs 4–6 characters long.
  • Uses uppercase, lowercase, and digits.
  • Optionally inserts a dash (never first or last).
  • Huge possibility space — millions of unique IDs.
  • Perfect for unique short handles, test data, or just for fun.

📦 Installation

Add to your Cargo.toml:

[dependencies]
droidid = "0.1"

Or install locally for development:

cargo add droidid

🚀 Usage

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

📊 Example outputs

Some generated IDs:

R2-D2
M8iwB
X7qL
b9-Gh
T3oP

⚖️ License

MIT License. See LICENSE for details.