# 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 = "2024"
name = "smtp_send"
version = "0.1.17"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SMTP email sending library with built-in DKIM signing and MX lookup support. / 支持内置 DKIM 签名和 MX 记录查询的 SMTP 邮件发送库。"
homepage = "https://github.com/js0-site/rust/tree/main/smtp_send"
readme = "README.md"
keywords = [
    "smtp",
    "dkim",
    "email",
    "mx",
    "mailer",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

[lib]
name = "smtp_send"
path = "src/lib.rs"

[[test]]
name = "main"
path = "tests/main.rs"

[dependencies.async-scoped]
version = "0.9"
features = ["use-tokio"]

[dependencies.bitcode]
version = "0.6.7"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.expire_cache]
version = "0.1.15"
features = [
    "dashmap",
    "get_or_init",
]

[dependencies.genv]
version = "0.1.18"

[dependencies.idoh]
version = "0.1.15"
features = [
    "mx",
    "cache",
]

[dependencies.log]
version = "0.4.29"

[dependencies.log_init]
version = "0.1.28"

[dependencies.mail-parser]
version = "0.11.1"

[dependencies.mail-send]
version = "0.5.2"

[dependencies.mail_struct]
version = "0.1.18"
features = [
    "encode",
    "send",
]

[dependencies.rsa]
version = "0.10.0-rc.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_yaml_bw]
version = "2.5.1"

[dependencies.sk_dkim]
version = "0.1.7"

[dependencies.smtp-proto]
version = "0.2.0"
features = ["serde"]

[dependencies.static_init]
version = "1.0.4"

[dependencies.tar]
version = "0.4"

[dependencies.tokio]
version = "1.48.0"
features = ["rt-multi-thread"]

[dependencies.tokio-rustls]
version = "0.26.4"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.log]
version = "0.4.29"

[dev-dependencies.log_init]
version = "0.1.28"

[dev-dependencies.sk_dkim]
version = "0.1.7"
features = ["pk"]

[dev-dependencies.static_init]
version = "1.0.4"

[dev-dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "sync",
]
