Cargo Features

[dependencies]
postgrpc = { version = "0.1.2", default-features = false, features = ["deadpool", "ssl-native-tls", "transaction", "server", "health", "reflection", "web", "role-header"] }
default = deadpool, health, reflection, role-header, server, ssl-native-tls, transaction

These default features are set whenever postgrpc is added without default-features = false somewhere in the dependency tree.

deadpool default = deadpool-postgres, num_cpus, pin-project-lite

Affects pools::deadpool

Required by the binary

ssl-native-tls default = native-tls, postgres-native-tls
transaction default = uuid

Affects pools::transaction, services::transaction

server default = envy

Required by the binary

health default = tonic-health

Affects services::health

reflection default = tonic-reflection

Affects postgrpc::FILE_DESCRIPTOR_SET

web = tonic-web
role-header default

Affects extensions::role_header

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.

deadpool-postgres deadpool

Enables deadpool-postgres ^0.10.2

envy server
native-tls ssl-native-tls
num_cpus deadpool
pin-project-lite deadpool
postgres-native-tls ssl-native-tls
tonic-health health

Enables tonic-health ^0.7.0

tonic-reflection reflection

Enables tonic-reflection ^0.5.0

tonic-web web?

Enables tonic-web ^0.4.0

uuid transaction