Cargo Features

[dependencies]
date-rs = { version = "1.0.1", default-features = false, features = ["diesel-pg", "easter", "tz", "serde"] }
default = serde

The serde feature is set by default whenever date-rs is added without default-features = false somewhere in the dependency tree.

diesel-pg

Enables postgres of diesel

easter
tz

Enables tz-rs ^0.6 and tzdb ^0.6

Affects date-rs::tz

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.

serde default