#uuid #generate #inspecting #tooling #command-line #format #random

app uuid-tools

Simple command-line tooling for generating and inspecting UUIDs

3 unstable releases

0.2.0 Sep 13, 2020
0.1.1 Aug 26, 2020
0.1.0 Aug 25, 2020

#12 in #inspecting

MIT/Apache

13KB
181 lines

UUID Tools

This package is intended as a set of simple, useful command-line tooling for generating and inspecting UUIDs. It is currently very much a toy project, and should not be relied upon for any critical uuid generation - it lacks proper support for generating any but Nil and v4 Random UUIDs.

The package provides a single binary crate, uuid, which accepts an optional argument specifying a uuid to decode and provide details. If absent, uuid will instead generate a uuid, defaulting to v4 random.

Any successful invocation of uuid will cause either the parsed or generated uuid to be printed to stdout in the format requested, while all additional information is listed on stderr for convenient use in command pipelines.

Dependencies

~3.5–4.5MB
~81K SLoC