Cargo Features

[dependencies]
libtzfile = { version = "3.1.0", default-features = false, features = ["std", "json", "parse"] }
default = std

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

std default
json = chrono, serde, serde_json

Enables serde of chrono

Affects libtzfile::Tzinfo, libtzfile::TransitionTime

parse = chrono

Affects libtzfile::Tzinfo, libtzfile::TransitionTime

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.

chrono json? parse?
serde json?
serde_json json?