Cargo Features
[dependencies]
calendrier = { version = "0.1.6", default-features = false, features = ["chrono", "no-time-offset", "average-time-offset"] }
- default = chrono
-
The
chrono
feature is set by default whenevercalendrier
is added without
somewhere in the dependency tree.default-features = false - chrono default
-
Enables chrono
Affects
calendrier::chrono_compat
… - no-time-offset
-
Disables the time offset (1080 seconds by default)
- average-time-offset
-
Enables the most accurate time offset (1029 seconds)