mailrs-outbound-queue 4.0.0

Outbound mail queue primitives: DKIM signing, DSN generation, MTA-STS lookup, retry/backoff, with a pluggable store trait and a Postgres reference implementation.
Documentation
# 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-outbound-queue"
version = "4.0.0"
authors = ["GOLIA K.K."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Outbound mail queue primitives: DKIM signing, DSN generation, MTA-STS lookup, retry/backoff, with a pluggable store trait and a Postgres reference implementation."
homepage = "https://github.com/goliajp/mailrs"
documentation = "https://docs.rs/mailrs-outbound-queue"
readme = "README.md"
keywords = [
    "smtp",
    "outbound",
    "dkim",
    "dsn",
    "email",
]
categories = [
    "email",
    "network-programming",
    "asynchronous",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/mailrs"
resolver = "2"

[features]
default = ["pg"]
pg = [
    "dep:sqlx",
    "dep:kevy-embedded",
]

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

[[example]]
name = "in_memory_queue"
path = "examples/in_memory_queue.rs"

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

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

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

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

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

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

[[bench]]
name = "core"
path = "benches/core.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"

[dependencies.futures-util]
version = "0.3"

[dependencies.hickory-resolver]
version = "0.26"

[dependencies.kevy-embedded]
version = "1.1"
optional = true

[dependencies.mailrs-arc]
version = "3"

[dependencies.mailrs-backoff]
version = "1"

[dependencies.mailrs-dkim]
version = "3"

[dependencies.mailrs-mail-builder]
version = "1"

[dependencies.mailrs-rfc5322]
version = "1"

[dependencies.mailrs-smtp-client]
version = "2"

[dependencies.metrics]
version = "0.24"

[dependencies.rustls]
version = "0.23"
default-features = false

[dependencies.rustls-pki-types]
version = "1"
features = ["alloc"]

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "macros",
    "chrono",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.hickory-resolver]
version = "0.26"

[dev-dependencies.rcgen]
version = "0.14"

[dev-dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "macros",
    "chrono",
]
default-features = false

[dev-dependencies.testcontainers]
version = "0.27"

[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]

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

[dev-dependencies.tokio-rustls]
version = "0.26"

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

[lints.rust]
warnings = "deny"