Cargo Features
[dependencies]
postgres-es = { version = "0.4.12", default-features = false, features = ["runtime-async-std-native-tls", "runtime-tokio-native-tls", "runtime-async-std-rustls", "runtime-tokio-rustls"] }
- default = runtime-tokio-rustls
-
The
runtime-tokio-rustls
feature is set by default wheneverpostgres-es
is added without
somewhere in the dependency tree.default-features = false - runtime-async-std-native-tls
-
Enables runtime-async-std-native-tls of sqlx
sqlx:
Legacy Runtime + TLS features
- runtime-tokio-native-tls
-
Enables runtime-tokio-native-tls of sqlx
- runtime-async-std-rustls
-
Enables runtime-async-std-rustls of sqlx
- runtime-tokio-rustls default
-
Enables runtime-tokio-rustls of sqlx
postgres-es has 5 features without comments.