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 wheneveruuid7
is added without
somewhere in the dependency tree.default-features = false - std global_gen
- global_gen default = rand_chacha, std
-
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
…