# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "email-lib" version = "0.26.0" authors = ["soywod "] description = "Cross-platform, asynchronous Rust library to manage emails" homepage = "https://pimalaya.org/" documentation = "https://docs.rs/email-lib/latest/email/" readme = "README.md" keywords = [ "email", "maildir", "imap", "smtp", "sendmail", ] categories = [ "asynchronous", "email", "network-programming", ] license = "MIT" repository = "https://github.com/pimalaya/core/tree/master/email/" [package.metadata.docs.rs] features = [ "tokio-rustls", "imap", "maildir", "sendmail", "smtp", "autoconfig", "derive", "keyring", "notify", "oauth2", "sync", "thread", "watch", "pgp-commands", "pgp-native", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "email" [dependencies.advisory-lock] version = "0.3" optional = true [dependencies.async-std] version = "1.13" optional = true [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4" [dependencies.chumsky] version = "=1.0.0-alpha.7" features = [ "std", "label", ] default-features = false [dependencies.dirs] version = "4.0" optional = true [dependencies.email-macros] version = "=0.0.2" [dependencies.email_address] version = "0.2" optional = true default-features = false [dependencies.futures] version = "0.3" [dependencies.hickory-resolver] version = "0.24" optional = true [dependencies.http-lib] version = "0.1" optional = true default-features = false [dependencies.imap-client] version = "=0.1.5" optional = true [dependencies.imap-next] version = "=0.3" features = [ "expose_stream", "tag_generator", "starttls", "ext_id", "ext_metadata", ] optional = true [dependencies.keyring-lib] version = "1" optional = true default-features = false [dependencies.mail-builder] version = "0.3" [dependencies.mail-parser] version = "0.9" [dependencies.mail-send] version = "0.4" features = [ "logging", "tls12", "ring", ] optional = true default-features = false [dependencies.maildirs] version = "=0.2.2" optional = true [dependencies.mml-lib] version = "1" features = [ "compiler", "interpreter", ] default-features = false [dependencies.notify] version = "6" features = ["macos_kqueue"] optional = true default-features = false [dependencies.notify-rust] version = "4" optional = true [dependencies.notmuch] version = "=0.8.0" optional = true [dependencies.oauth-lib] version = "1" optional = true default-features = false [dependencies.once_cell] version = "1" [dependencies.ouroboros] version = "0.15" [dependencies.paste] version = "1" [dependencies.petgraph] version = "0.6" optional = true [dependencies.pgp-lib] version = "1" features = ["key-discovery"] optional = true [dependencies.process-lib] version = "1" default-features = false [dependencies.rayon] version = "1.6" optional = true [dependencies.regex] version = "1.5" [dependencies.secret-lib] version = "1" features = ["command"] default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde-xml-rs] version = "0.6" optional = true [dependencies.shellexpand-utils] version = "=0.2.1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.23" features = [ "fs", "macros", "net", "rt", "time", ] optional = true default-features = false [dependencies.tokio-native-tls] version = "0.3" optional = true default-features = false [dependencies.tokio-rustls] version = "0.26" features = [ "logging", "tls12", "ring", ] optional = true default-features = false [dependencies.tracing] version = "0.1" [dependencies.tree_magic_mini] version = "3" [dependencies.urlencoding] version = "2.1" [dependencies.utf7-imap] version = "=0.3.2" optional = true [dev-dependencies.async-std] version = "1.13" features = ["attributes"] [dev-dependencies.concat-with] version = "0.2" [dev-dependencies.tempfile] version = "3.3" [dev-dependencies.test-log] version = "0.2" features = [ "color", "trace", ] default-features = false [dev-dependencies.tokio] version = "1.23" features = ["full"] [features] async-std = [ "dep:async-std", "http-lib?/async-std", "keyring-lib?/async-std", "mml-lib/async-std", "oauth-lib?/async-std", "process-lib/async-std", "secret-lib/async-std", ] autoconfig = [ "dep:email_address", "dep:hickory-resolver", "dep:http-lib", "dep:serde", "dep:serde-xml-rs", ] default = ["tokio-rustls"] derive = [ "dep:serde", "chrono/serde", "mml-lib/derive", "secret-lib/derive", "process-lib/derive", "keyring-lib?/derive", ] imap = [ "dep:utf7-imap", "dep:imap-client", "dep:imap-next", "tokio?/sync", ] keyring = [ "mml-lib/keyring", "secret-lib/keyring", ] maildir = [ "dep:maildirs", "dep:notify", "dep:rayon", "tokio?/sync", ] native-tls = [ "hickory-resolver?/dns-over-native-tls", "http-lib?/native-tls", "keyring-lib?/openssl", "mml-lib/native-tls", "oauth-lib?/native-tls", "secret-lib/openssl", ] notify = ["dep:notify-rust"] notmuch = [ "dep:notmuch", "maildir", ] oauth2 = ["dep:oauth-lib"] pgp = [] pgp-commands = [ "mml-lib/pgp-commands", "pgp", ] pgp-gpg = [ "mml-lib/pgp-gpg", "pgp", ] pgp-native = [ "dep:pgp-lib", "dep:keyring-lib", "mml-lib/pgp-native", "pgp", ] rustls = [ "hickory-resolver?/dns-over-rustls", "http-lib?/rustls", "keyring-lib?/rustls", "mml-lib/rustls", "oauth-lib?/rustls", "secret-lib/rustls", ] sendmail = [] smtp = [ "dep:mail-send", "tokio?/sync", ] sync = [ "dep:advisory-lock", "dep:dirs", "maildir", ] thread = ["dep:petgraph"] tokio = [ "dep:tokio", "http-lib?/tokio", "keyring-lib?/tokio", "mml-lib/tokio", "oauth-lib?/tokio", "process-lib/tokio", "secret-lib/tokio", ] tokio-native-tls = [ "dep:tokio-native-tls", "tokio", "native-tls", ] tokio-rustls = [ "dep:tokio-rustls", "tokio", "rustls", ] vendored = [ "tokio-native-tls?/vendored", "http-lib?/vendored", "keyring-lib?/vendored", "mml-lib/vendored", "oauth-lib?/vendored", "secret-lib/vendored", ] watch = ["tokio?/sync"]