Cargo Features

[dependencies]
portier_broker = { version = "0.12.1", default-features = false, features = ["insecure", "lettre_smtp", "lettre_sendmail", "postmark", "mailgun", "native-tls", "rustls", "sendgrid", "redis", "rusqlite"] }
default = lettre_sendmail, lettre_smtp, mailgun, postmark, redis, rusqlite, rustls, sendgrid

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

insecure
lettre_smtp default = lettre

Enables smtp-transport of lettre

Affects mailer::lettre_smtp

lettre_sendmail default = lettre

Enables sendmail-transport of lettre

Affects mailer::lettre_sendmail

postmark default

Affects mailer::postmark

mailgun default

Affects mailer::mailgun

native-tls = hyper-tls

Enables native-tls of optional lettre and reqwest

reqwest:

Enables native-tls specific functionality not available by default.

rustls default = hyper-rustls

Enables rustls, rustls-tls-native-roots of reqwest, rustls-native-certs and rustls-tls of optional lettre

sendgrid default

Affects mailer::sendgrid

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.

hyper-rustls rustls
hyper-tls native-tls?
redis default

Enables redis ^0.25.3

Affects store::redis, utils::redis

rusqlite default

Affects store::rusqlite

lettre lettre_sendmail lettre_smtp