Cargo Features

[dependencies]
drogue-bazaar = { version = "0.3.0", default-features = false, features = ["app", "actix", "default-tls", "native-tls", "rustls", "openssl", "postgres"] }
default = actix, app, default-tls, openssl, postgres

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

app default actix = opentelemetry, opentelemetry-jaeger, tracing-log, tracing-opentelemetry, tracing-subscriber

Enables tokio

Affects drogue-bazaar::app

actix default = actix-cors, actix-http, actix-service, actix-web, actix-web-extras, actix-web-httpauth, actix-web-prom, app, tracing-actix-web

Affects drogue-bazaar::actix

default-tls default = native-tls

Enables default-tls of reqwest ^0.11

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

Affects auth::openid, drogue-bazaar::client, drogue-bazaar::reqwest, drogue-bazaar::actix

native-tls default-tls postgres

Enables native-tls and native-tls of reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

Affects auth::openid, drogue-bazaar::client, drogue-bazaar::reqwest, drogue-bazaar::actix

rustls

Enables rustls-tls of reqwest ^0.11 and rustls of optional actix-web

actix-web:

TLS via Rustls v0.20

openssl default

Enables openssl and openssl of optional actix-web

actix-web:

TLS via OpenSSL

Affects auth::TlsAuthConfig.psk

postgres default = deadpool, deadpool-postgres, native-tls, postgres-native-tls, tokio-postgres

Affects db::postgres

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.

actix-cors actix

Enables actix-cors ^0.6

actix dependencies

actix-http actix
actix-service actix
actix-web actix
actix-web-extras actix
actix-web-httpauth actix
actix-web-prom actix

Enables actix-web-prom ^0.6

tracing-actix-web actix

Enables tracing-actix-web ^0.6

opentelemetry app

Enables opentelemetry ^0.18

app dependencies

opentelemetry-jaeger app

Enables opentelemetry-jaeger ^0.17

tracing-log app

Enables tracing-log ^0.1

tracing-opentelemetry app

Enables tracing-opentelemetry ^0.18

tracing-subscriber app
deadpool postgres

Enables deadpool ^0.9

postgres dependencies

deadpool-postgres postgres

Enables deadpool-postgres ^0.10

postgres-native-tls postgres
tokio-postgres postgres