Cargo Features

typed-fields has no features set by default.

[dependencies]
typed-fields = { version = "0.2.0", features = ["secret", "serde", "ulid", "url", "uuid", "zerocopy"] }
secret

Enables secrecy ^0.4.1

Affects typed-fields::secret

serde

Enables serde, serde of optional secrecy ^0.4.1, serde of optional ulid, optional url, and optional uuid

ulid

Enables ulid

Affects typed-fields::ulid

url

Enables url

Affects typed-fields::url

uuid

Enables uuid

Affects typed-fields::uuid

Features from optional dependencies

zerocopy implicit feature

Enables zerocopy ^0.7.31

This is a transient dependency of the ulid feature, but we need to set its minimum version that is compatible with this crate.