# 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 = "any_mail" version = "0.1.0" authors = ["Wyatt Herkamp "] description = "A simple way to send emails from your application" readme = "README.md" keywords = [ "email", "smtp", "mail", "tokio", ] license = "MIT OR Apache-2.0" repository = "https://github.com/wyatt-herkamp/any_mail" [dependencies.flume] version = "0.11" [dependencies.futures-util] version = "0.3" [dependencies.handlebars] version = "5.0.0-beta.5" features = ["rust-embed"] optional = true [dependencies.hostname] version = "0.3" [dependencies.lettre] version = "0.11" features = [ "smtp-transport", "pool", "builder", ] optional = true default-features = false [dependencies.parking_lot] version = "0.11" [dependencies.reqwest] version = "0.11" features = ["json"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.strum] version = "0" features = ["derive"] [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.toml] version = "0.8" [features] default = [ "smtp", "mail-whale", "mail-gun", "dep:handlebars", "tokio_rustls", "reqwest_rustls", ] mail-gun = [ "dep:reqwest", "dep:serde_json", ] mail-whale = [ "dep:reqwest", "dep:serde_json", ] reqwest_rustls = ["reqwest/rustls-tls"] smtp = [ "lettre", "lettre/smtp-transport", "lettre/builder", ] tokio_rustls = [ "tokio", "lettre/tokio1-rustls-tls", ]