1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
[package]
name = "mail-send"
description = "E-mail delivery library with SMTP and DKIM support"
version = "0.5.2"
edition = "2024"
authors = [ "Stalwart Labs <hello@stalw.art>"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/stalwartlabs/mail-send"
homepage = "https://github.com/stalwartlabs/mail-send"
keywords = ["smtp", "dkim", "email", "mime", "mail"]
categories = ["email"]
readme = "README.md"
[[example]]
name = "smtp_auth"
required-features = ["builder"]
[[example]]
name = "smtp_dkim"
required-features = ["builder", "dkim"]
[[example]]
name = "smtp_raw_message"
[[example]]
name = "smtp_relay"
required-features = ["builder"]
[[example]]
name = "smtp_tls_relay"
required-features = ["builder"]
[lib]
doctest = false
[dependencies]
smtp-proto = { version = "0.2" }
base64 = "0.22"
rand = { version = "0.8.5", optional = true }
md5 = { version = ">= 0.7, <= 0.8", optional = true }
tokio = { version = "1.47", features = ["net", "io-util", "time"]}
rustls = { version = "0.23", default-features = false, features = ["std"]}
tokio-rustls = { version = "0.26", default-features = false }
rustls-platform-verifier = "0.6"
rustls-pki-types = { version = "1" }
gethostname = { version = ">= 0.4.3, <= 1"}
[dev-dependencies]
tokio = { version = "1.16", features = ["net", "io-util", "time", "rt-multi-thread", "macros"] }
env_logger = "0.11.0"
[features]
digest-md5 = ["md5", "rand"]
cram-md5 = ["md5"]
logging = ["rustls/logging", "tokio-rustls/logging"]
ring = ["rustls/ring", "tokio-rustls/ring"]
tls12 = ["rustls/tls12", "tokio-rustls/tls12"]
|