Cargo Features
[dependencies]
promad = { version = "0.1.2", default-features = false, features = ["postgres", "native-tls", "rustls"] }
Make feature flags for postgres
- default = native-tls, postgres
-
These default features are set whenever
promad
is added without
somewhere in the dependency tree.default-features = false - postgres default
-
Affects
repo::postgres
… - native-tls default
-
Enables runtime-tokio-native-tls of sqlx ^0.7
- rustls
-
Enables runtime-tokio-rustls of sqlx ^0.7