2023-04-14 15:04:36 +08:00
|
|
|
[package]
|
|
|
|
name = "utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-04-20 00:55:37 +08:00
|
|
|
resolver = "2"
|
2023-04-14 15:04:36 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-18 18:43:45 +08:00
|
|
|
rustls = "0.21.0"
|
|
|
|
rustls-pemfile = "1.0"
|
2023-04-20 00:55:37 +08:00
|
|
|
tokio = { version = "1.23", features = ["net", "macros"] }
|
2023-04-18 18:43:45 +08:00
|
|
|
tokio-rustls = { version = "0.24.0"}
|
2023-04-14 15:04:36 +08:00
|
|
|
serde = { version = "1.0", features = ["derive"]}
|
2023-04-18 18:43:45 +08:00
|
|
|
tracing = "0.1"
|
2023-05-17 02:25:38 +08:00
|
|
|
mail-auth = { git = "https://github.com/stalwartlabs/mail-auth" }
|
|
|
|
smtp-proto = { git = "https://github.com/stalwartlabs/smtp-proto" }
|
2023-05-18 01:35:36 +08:00
|
|
|
mail-send = { git = "https://github.com/stalwartlabs/mail-send", default-features = false, features = ["cram-md5", "skip-ehlo"] }
|
2023-05-17 18:45:43 +08:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
tracing-appender = "0.2"
|
|
|
|
tracing-opentelemetry = "0.18.0"
|
|
|
|
opentelemetry = { version = "0.18.0", features = ["rt-tokio"] }
|
|
|
|
opentelemetry-otlp = { version = "0.11.0", features = ["http-proto", "reqwest-client", "reqwest-rustls"] }
|
|
|
|
opentelemetry-semantic-conventions = { version = "0.10.0" }
|
2023-04-20 00:55:37 +08:00
|
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
privdrop = "0.5.3"
|
2023-05-17 18:45:43 +08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
test_mode = []
|