#identifier

app objid

Generate a random object identifier

9 releases

0.1.11 May 11, 2022
0.1.10 Aug 1, 2021
0.1.5 Feb 26, 2020
0.1.4 Nov 8, 2019

#718 in Rust patterns

49 downloads per month

MIT license

16KB
55 lines

objid

Crates.io CII Best Practices

The random Rust object identifier.

This program generates a random id suitable for code generators.

Installation

You can install objid from either this repository, or from Crates (once it's published):

# install from Cargo
$ cargo install objid

# install the latest from GitHub
$ cargo install --git https://github.com/montao/objid.git

Commands

Running the program generates a new object identifier like the following.

$ objid
Random object id: _e4lzU1OgCT

Dependencies

~1.5MB
~25K SLoC