Files
PostfixAdminRS/Cargo.toml
T
2026-11-03 20:05:17 +01:00

46 lines
1.6 KiB
TOML

[package]
name = "postfixadmin-rs"
version = "0.0.2"
edition = "2024"
rust-version = "1.99.1"
default-run = "postfixadmin-rs"
license = "GPL-2.0-or-later"
description = "Rust replacement for PostfixAdmin, compatible with the PostfixAdmin database schema"
[dependencies]
axum = { version = "0.8", features = ["multipart"] }
axum-extra = { version = "0.10", features = ["cookie"] }
tokio = { version = "1", features = ["full"] }
async-native-tls = { version = "0.5", default-features = false, features = ["runtime-tokio"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
figment = { version = "0.10", features = ["env", "toml"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
tower-http = { version = "0.6", features = ["trace", "limit", "timeout", "set-header"] }
tower = { version = "0.5", features = ["limit"] }
dashmap = "6"
rand = "0.9"
base64 = "0.22"
sha1 = "0.10"
sha2 = "0.10"
md-5 = "0.10"
hmac = "0.12"
subtle = "2.6"
data-encoding = "2.9"
argon2 = "0.5"
pwhash = "1"
regex = "1.12"
once_cell = "1.20"
thiserror = "2"
chrono = { version = "0.4", features = ["serde", "clock"] }
lettre = { version = "0.11", default-features = false, features = ["tokio1-native-tls", "smtp-transport", "builder"] }
trust-dns-resolver = { version = "0.23", default-features = false, features = ["tokio-runtime", "system-config"] }
urlencoding = "2.1"
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "any", "mysql", "postgres", "sqlite", "chrono"] }
[dev-dependencies]
tempfile = "3"
http-body-util = "0.1"