Cargo Features
[dependencies]
ulid = { version = "1.1.3", default-features = false, features = ["std", "postgres", "serde", "uuid"] }
- default = std
-
The
std
feature is set by default wheneverulid
is added without
somewhere in the dependency tree.default-features = false - std default = rand
-
Affects
base32::encode
… - postgres
-
Enables bytes and postgres-types
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.