Cargo Features

pg_interval = { version = "0.4.2", default-features = false, features = ["postgres"] }
default = postgres

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

postgres default = postgres-types

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

postgres-types postgres