polyc-mail 2026.9.0

Outbound-mail transport: a ConnectRPC client the control plane uses to send a fresh (non-threaded) email through this deployment's web Worker (EmailRelayService).
# 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"
rust-version = "1.97"
name = "polyc-mail"
version = "2026.9.0"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Outbound-mail transport: a ConnectRPC client the control plane uses to send a fresh (non-threaded) email through this deployment's web Worker (EmailRelayService)."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"

[package.metadata.polychrome]
layer = "component"
foundation = true
plane_role = "shared"

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

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

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

[dependencies.connectrpc]
version = "0.9.0"
features = [
    "axum",
    "server",
    "client",
    "client-tls",
    "server-tls",
    "client-tls",
]

[dependencies.http]
version = "1"

[dependencies.polyc-proto]
version = "=2026.9.0"

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

[dependencies.rustls-platform-verifier]
version = "0.7"

[dependencies.thiserror]
version = "2"

[dev-dependencies.axum]
version = "0.8"

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

[lints.clippy]
dbg_macro = "deny"
module_name_repetitions = "allow"
redundant_pub_crate = "allow"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rustdoc]
all = "warn"