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 whenevernt-time
is added without
somewhere in the dependency tree.default-features = false - 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
…