Cargo Features

[dependencies]
utcnow = { version = "0.2.5", default-features = false, features = ["std", "fallback", "castaway", "quickcheck", "rkyv", "serde", "arbitrary", "proptest"] }
default = fallback, std

These default features are set whenever utcnow is added without default-features = false somewhere in the dependency tree.

std default
fallback default

Features from optional dependencies

castaway implicit feature

Enables castaway

castaway:

Safe, zero-cost downcasting for limited compile-time specialization

quickcheck implicit feature

Enables quickcheck

quickcheck:

Automatic property based testing with shrinking

rkyv implicit feature

Enables rkyv

Versions up until 0.7.26 are broken.

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

arbitrary implicit feature

Enables arbitrary

Optional features:

proptest implicit feature

Enables proptest

proptest:

Hypothesis-like property-based testing and shrinking