# 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 = "mailfred" version = "0.1.1" authors = ["lemunozm "] description = "Process emails as an HTTP server" homepage = "https://github.com/lemunozm/mailfred" readme = "README.md" keywords = [ "imap", "smtp", "server", "email", "service", ] categories = [ "asynchronous", "email", "web-programming", ] license = "Apache-2.0" repository = "https://github.com/lemunozm/mailfred" [package.metadata.cargo-all-features] denylist = ["full"] [[example]] name = "basic" required-features = [ "imap", "smtp", ] [[example]] name = "gmail" required-features = [ "imap", "smtp", ] [[example]] name = "clean_sent_folder" required-features = [ "imap", "smtp", ] [[example]] name = "router" required-features = [ "imap", "smtp", ] [[test]] name = "integration_transports" required-features = [ "imap", "smtp", ] [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4" optional = true [dependencies.colored] version = "2.0" optional = true [dependencies.fern] version = "0.6" features = ["colored"] optional = true [dependencies.imap] version = "=3.0.0-alpha.10" optional = true [dependencies.log] version = "0.4" [dependencies.mail-builder] version = "0.3" optional = true [dependencies.mail-parser] version = "0.8" optional = true [dependencies.mail-send] version = "=0.4.0" optional = true [dependencies.native-tls] version = "0.2" optional = true [dependencies.tokio] version = "1" features = [ "rt", "macros", "sync", "time", "rt-multi-thread", ] [dependencies.tokio-rustls] version = "0.24" optional = true [dev-dependencies.csv] version = "1.2" [dev-dependencies.doc-comment] version = "0.3" [dev-dependencies.serial_test] version = "2.0" [features] default = [ "smtp", "imap", ] full = [ "smtp", "imap", "logger", ] imap = [ "dep:imap", "dep:mail-parser", "dep:native-tls", ] logger = [ "dep:fern", "dep:colored", "dep:chrono", ] smtp = [ "dep:mail-send", "dep:mail-builder", "dep:tokio-rustls", ]