Cargo Features
[dependencies]
db-helpers = { version = "1.5.0", default-features = false, features = ["pg"] }
- default = pg
-
The
pg
feature is set by default wheneverdb-helpers
is added without
somewhere in the dependency tree.default-features = false - pg default = tokio-postgres
-
Enables pg of db-helpers-derive
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.