# 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 = "mailrs-delivery-executor"
version = "1.0.0"
authors = ["GOLIA K.K."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Group-commit delivery executor on top of mailrs-maildir 1.2's deliver_batch. Accumulates per-path delivery requests from concurrent async tasks (SMTP / LMTP / IMAP APPEND sessions) and flushes each path's batch via a single fsync. Caller awaits a oneshot::Receiver for per-message confirmation. Default tuning: max_batch=64, max_wait=10ms — 15× throughput at saturation per the mailrs-maildir 1.2 microbench."
homepage = "https://github.com/goliajp/mailrs"
documentation = "https://docs.rs/mailrs-delivery-executor"
readme = "README.md"
keywords = [
    "maildir",
    "smtp",
    "delivery",
    "group-commit",
    "fsync",
]
categories = [
    "email",
    "filesystem",
    "asynchronous",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/mailrs"
resolver = "2"

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

[dependencies.mailrs-maildir]
version = "1.2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
    "time",
]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[lints.clippy.all]
level = "deny"
priority = 0

[lints.rust]
warnings = "deny"
