Cargo Features
[dependencies]
imap = { version = "3.0.0-alpha.14", default-features = false, features = ["rustls-tls", "test_helpers", "test-full-imap", "native-tls", "openssl", "openssl-macros"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneverimap
is added without
somewhere in the dependency tree.default-features = false - rustls-tls = rustls-connector
-
Affects
client_builder::TlsKind
… - test_helpers
-
Used to expose helpers in the imap::testing module to build response objects
- test-full-imap
-
Used to activate full integration tests when running against a more complete IMAP server
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.
- native-tls default
-
Affects
client_builder::TlsKind
… - rustls-connector rustls-tls?
-
Enables rustls-connector ^0.19.0
- openssl cfg(any()) implicit feature
-
Enables openssl
openssl:
OpenSSL bindings
- openssl-macros cfg(any()) implicit feature
-
Enables openssl-macros
openssl-macros:
Internal macros used by the openssl crate