package uuidm

  1. Overview
  2. Docs
Universally unique identifiers (UUIDs) for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

uuidm-0.9.8.tbz
sha512=d5073ae49c402ab3ea6dc8f86bc5b8cc14129437e23e47da4d91431648fcb31c4dce6308f9c936c58df9a2c6afda61d77105a3022e369cca4e4c140320e803b5

Description

Uuidm is an OCaml module implementing 128 bits universally unique identifiers version 3, 5 (named based with MD5, SHA-1 hashing) and 4 (random based) according to RFC 4122.

Uuidm has no dependency and is distributed under the ISC license.

Homepage: http://erratique.ch/software/uuidm

Tags

uuid codec org:erratique

Published: 09 Feb 2022

README

Uuidm — Universally unique identifiers (UUIDs) for OCaml

v0.9.8

Uuidm is an OCaml module implementing 128 bits universally unique identifiers version 3, 5 (named based with MD5, SHA-1 hashing) and 4 (random based) according to RFC 4122.

Uuidm has no dependency and is distributed under the ISC license.

Homepage: http://erratique.ch/software/uuidm

Installation

Uuidm can be installed with opam:

opam install uuidm

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is automatically generated by from the source interfaces. It can be consulted online or via odig doc uuidm.

Sample programs

If you installed Uuidm with opam, it installed the uuidtrip binary that output UUIDs; invoke with -help for more information.

In the distribution sample programs are located in the test directory of the distribution. They can be built with:

ocamlbuild -use-ocamlfind test/tests.otarget

The resulting binaries are in _build/test:

  • test.native tests the library, nothing should fail.

  • perf.native tests the performance of the library, see perf.native -help.

  • uuidtrip.native outputs UUIDs, see uuidtrip.native -help.

OCaml

Innovation. Community. Security.