Cargo Features

[dependencies]
pg-setup = { version = "0.2.0", default-features = false, features = ["sqlx"] }
default = sqlx

The sqlx feature is set by default whenever pg-setup is added without default-features = false somewhere in the dependency tree.

Features from optional dependencies

sqlx default

With postgres