zsmtp 0.1.0

A zero-knowledge SMTP mail transfer agent prototype
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 = "zsmtp"
version = "0.1.0"
authors = ["Team ZSMTP <team@zsmtp.dev>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A zero-knowledge SMTP mail transfer agent prototype"
documentation = "https://docs.rs/zsmtp"
readme = "README.md"
keywords = [
    "smtp",
    "mta",
    "cli",
    "zero-knowledge",
    "mail",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "BSD-3-Clause"
repository = "https://github.com/zsmtp/zsmtp"

[[package.metadata.generate-rpm.assets]]
source = "target/release/zsmtp"
dest = "/usr/bin/zsmtp"
mode = "0755"

[package.metadata.deb]
assets = [[
    "target/release/zsmtp",
    "/usr/bin/zsmtp",
    "755",
]]
depends = ""

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

[[bin]]
name = "zsmtp"
path = "src/bin/zsmtp.rs"

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.clap]
version = "4.6"
features = ["derive"]

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

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

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

[build-dependencies.built]
version = "0.8.0"
features = ["git2"]

[lints.clippy]
all = "deny"
await_holding_lock = "deny"
complexity = "deny"
correctness = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_stack_arrays = "deny"
needless_borrow = "deny"
needless_collect = "deny"
panic = "deny"
pedantic = "deny"
perf = "deny"
suspicious = "deny"
unwrap_used = "deny"

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

[lints.rust]
warnings = "deny"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true