[package] name = "imap" version = "3.0.0-alpha.14" authors = ["Jon Gjengset ", "Matt McCoy "] documentation = "https://docs.rs/imap/" repository = "https://github.com/jonhoo/rust-imap" homepage = "https://github.com/jonhoo/rust-imap" description = "IMAP client for Rust" license = "Apache-2.0 OR MIT" edition = "2021" keywords = ["email", "imap"] categories = ["email", "network-programming"] [features] rustls-tls = ["rustls-connector"] default = ["native-tls"] # Used to expose helpers in the imap::testing module to build response objects test_helpers = [] # Used to activate full integration tests when running against a more complete IMAP server test-full-imap = [] [dependencies] native-tls = { version = "0.2.2", optional = true } rustls-connector = { version = "0.19.0", optional = true } regex = "1.0" bufstream = "0.1.3" imap-proto = "0.16.1" nom = { version = "7.1.0", default-features = false } base64 = "0.22" chrono = { version = "0.4", default-features = false, features = ["std"]} lazy_static = "1.4" ouroboros = "0.18.0" [dev-dependencies] lettre = "0.11" rustls-connector = "0.19.0" clap = { version = "4.5.4", features = ["derive"] } # to make -Zminimal-versions work [target.'cfg(any())'.dependencies] openssl = { version = "0.10.60", optional = true } openssl-macros = { version = "0.1.1", optional = true } [[example]] name = "basic" required-features = ["default"] [[example]] name = "gmail_oauth2" required-features = ["default"] [[example]] name = "idle" required-features = ["default"] [[example]] name = "rustls" required-features = ["rustls-tls"] [[example]] name = "starttls" required-features = ["default"] [[example]] name = "timeout" required-features = ["default"] [[test]] name = "imap_integration" required-features = ["default"] [[test]] name = "builder_integration" required-features = [] [package.metadata.docs.rs] all-features = true