[][src]Crate lolid

Minimal no_std UUID implementation.

Features:

  • prng - Enables v4 using pseudo random, allowing unique, but predictable UUIDs;
  • orng - Enables v4 using OS random, allowing unique UUIDs;
  • sha1 - Enables v5;
  • serde - Enables serde support;

Structs

Timestamp

Timestamp for use with v1 algorithm.

Uuid

Universally unique identifier, consisting of 128-bits, as according to RFC4122

Enums

ParseError

Error happening when parsing invalid uuid.

Version

The version of the UUID, denoting the generating algorithm.

Constants

NAMESPACE_DNS

When this namespace is specified, the name string is a fully-qualified domain name

NAMESPACE_OID

When this namespace is specified, the name string is an ISO OID

NAMESPACE_URL

When this namespace is specified, the name string is a URL

NAMESPACE_X500

When this namespace is specified, the name string is an X.500 DN in DER or a text output format.