Cargo Features

[dependencies]
uuid7 = { version = "0.7.2", default-features = false, features = ["std", "global_gen", "serde", "uuid"] }
default = global_gen

The global_gen feature is set by default whenever uuid7 is added without default-features = false somewhere in the dependency tree.

std global_gen

Enables std of fstr

global_gen default = rand_chacha, std

Enables std of rand

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

Affects uuid7::new_v7

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rand_chacha global_gen
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

Affects uuid7::new_v7