Cargo Features
[dependencies]
portier_broker = { version = "0.11.0", 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
somewhere in the dependency tree.default-features = false - 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
-
Enables rusqlite ^0.31.0
Affects
store::rusqlite
… - lettre lettre_sendmail lettre_smtp