-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (30 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "forward-as-attachment-mta"
description = "A sendmail that forwards the incoming mail as an attachment."
version = "0.2.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Christian Schwarz <[email protected]>"]
[dependencies]
hostname = "0.3.1"
# choose features such that it's a pure rust app, for simplicity
lettre = { version = "0.11.3", default-features = false, features = ["builder", "smtp-transport", "rustls-tls", "serde", "tracing"] }
libc = "0.2.153"
mailparse = "0.14.1"
once_cell = "1.19.0"
regex = "1.10.3"
rustls = { version = "0.22.0-alpha.3" }
serde = { version = "1.0.196", features = ["derive"] }
toml = "0.8.8"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
users = "0.11.0"
uucore = { version = "0.0.24", features = ["fs"] }
whoami = "1.4.1"
# https://crates.io/crates/cargo-deb
[package.metadata.deb]
assets = [
["target/release/forward-as-attachment-mta", "/usr/sbin/sendmail", "6755"],
]
conflicts = "mail-transport-agent"
provides = "mail-transport-agent"