# 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_srv"
version = "0.2.27"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Auto-refreshing SMTPS server powered by Redis / Kvrocks / 基于 Redis / Kvrocks 自动热更新证书的 SMTPS 服务器"
homepage = "https://github.com/js0-site/rust/tree/main/smtp_srv"
readme = "README.md"
keywords = [
    "smtp",
    "server",
    "redis",
    "kvrocks",
    "tls",
]
categories = [
    "email",
    "network-programming",
    "asynchronous",
    "cryptography",
    "development-tools",
]
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 = []
kill_port = ["smtp_recv/kill_port"]

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

[[bin]]
name = "smtp_srv"
path = "src/main.rs"

[dependencies.aok]
version = "0.1.18"

[dependencies.auth_env]
version = "0.1.4"

[dependencies.cert_by_host]
version = "0.1.8"

[dependencies.fred]
version = "10.1.0"

[dependencies.genv]
version = "0.1.18"

[dependencies.graceful_restart]
version = "0.1.6"

[dependencies.log]
version = "0.4.29"

[dependencies.log_init]
version = "0.1.34"
features = ["systemd"]

[dependencies.mail_forward]
version = "0.1.9"

[dependencies.mail_struct]
version = "0.1.21"
features = ["encode"]

[dependencies.mimalloc]
version = "0.1.48"
features = ["v3"]

[dependencies.rustls]
version = "0.23.37"

[dependencies.smtp_recv]
version = "0.1.65"

[dependencies.smtp_send]
version = "0.1.29"

[dependencies.ssl_trait]
version = "0.1.3"

[dependencies.static_init]
version = "1.0.4"
features = ["parking_lot"]

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

[dependencies.xbin]
version = "0.1.9"

[dependencies.xboot]
version = "0.1.35"

[dependencies.xkv]
version = "0.1.51"
features = ["r"]

[dependencies.xmail]
version = "0.1.16"
