Cargo Features

[dependencies]
nt-time = { version = "0.10.3", default-features = false, features = ["std", "chrono", "rand", "serde", "large-dates", "serde-human-readable"] }
default = std

The std feature is set by default whenever nt-time is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional chrono, optional rand, and time

rand:

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

chrono

Enables chrono

rand

Enables rand

serde serde-human-readable?

Enables serde

Affects nt-time::serde_with

large-dates

Enables large-dates of time

serde-human-readable = serde

Enables serde-human-readable of time

Affects serde_with::iso_8601, serde_with::rfc_2822, serde_with::rfc_3339