Cargo Features
Utc2k has no features set by default.
[dependencies]
utc2k = { version = "0.11.1", features = ["local", "serde"] }
- local = tz-rs
-
This enables the "LocalOffset" struct for tricking — with caveats — Utc2k and FmtUtc2k into holding a local datetime rather than a UTC one. This only works on unix, but shouldn't outright break non-unix builds.
- serde
-
This enables (de)/serialize support for Utc2k and FmtUtc2k.
Enables serde
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.