2022-05-18 10:24:37 +00:00
|
|
|
[package]
|
2022-06-30 08:50:03 +00:00
|
|
|
name = "aerogramme"
|
2024-02-26 22:59:29 +00:00
|
|
|
version = "0.3.0"
|
2023-07-25 19:24:23 +00:00
|
|
|
authors = ["Alex Auvolat <alex@adnab.me>", "Quentin Dufour <quentin@dufour.io>"]
|
2022-05-18 10:24:37 +00:00
|
|
|
edition = "2021"
|
2024-01-20 18:27:56 +00:00
|
|
|
license = "EUPL-1.2"
|
2024-01-22 12:59:58 +00:00
|
|
|
description = "A robust email server"
|
2022-05-18 10:24:37 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-12-30 10:23:10 +00:00
|
|
|
# async runtime
|
|
|
|
tokio = { version = "1.18", default-features = false, features = ["rt", "rt-multi-thread", "io-util", "net", "time", "macros", "sync", "signal", "fs"] }
|
|
|
|
tokio-util = { version = "0.7", features = [ "compat" ] }
|
|
|
|
futures = "0.3"
|
|
|
|
|
|
|
|
# debug
|
|
|
|
log = "0.4"
|
2022-07-15 14:15:48 +00:00
|
|
|
backtrace = "0.3"
|
2024-01-24 14:21:55 +00:00
|
|
|
console-subscriber = "0.2"
|
2023-12-30 10:23:10 +00:00
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
tracing = "0.1"
|
2024-02-26 22:59:29 +00:00
|
|
|
thiserror = "1.0.56"
|
2023-12-30 10:23:10 +00:00
|
|
|
|
|
|
|
# language extensions
|
|
|
|
lazy_static = "1.4"
|
2022-05-31 15:07:34 +00:00
|
|
|
duplexify = "1.1.0"
|
2022-05-18 10:24:37 +00:00
|
|
|
im = "15"
|
2023-12-30 10:23:10 +00:00
|
|
|
anyhow = "1.0.28"
|
|
|
|
async-trait = "0.1"
|
2022-05-18 12:54:48 +00:00
|
|
|
itertools = "0.10"
|
2023-12-30 10:23:10 +00:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["alloc"] }
|
|
|
|
|
|
|
|
# process related
|
2023-12-14 14:36:54 +00:00
|
|
|
nix = { version = "0.27", features = ["signal"] }
|
2023-12-30 10:23:10 +00:00
|
|
|
clap = { version = "3.1.18", features = ["derive", "env"] }
|
|
|
|
|
2024-02-26 22:59:29 +00:00
|
|
|
# email protocols
|
|
|
|
eml-codec = "0.1.2"
|
|
|
|
smtp-message = { git = "http://github.com/Alexis211/kannader", branch = "feature/lmtp" }
|
|
|
|
smtp-server = { git = "http://github.com/Alexis211/kannader", branch = "feature/lmtp" }
|
|
|
|
imap-codec = { version = "2.0.0", features = ["bounded-static", "ext_condstore_qresync"] }
|
|
|
|
imap-flow = { git = "https://github.com/duesee/imap-flow.git", branch = "main" }
|
|
|
|
|
|
|
|
# http & web
|
|
|
|
http-body-util = "0.1"
|
|
|
|
hyper = "1.2"
|
|
|
|
hyper-rustls = { version = "0.26", features = ["http2"] }
|
|
|
|
hyper-util = { version = "0.1", features = ["full"] }
|
|
|
|
|
|
|
|
# serialization, compression & parsing
|
2022-05-18 10:24:37 +00:00
|
|
|
serde = "1.0.137"
|
|
|
|
rmp-serde = "0.15"
|
2022-05-19 10:10:48 +00:00
|
|
|
toml = "0.5"
|
2023-12-30 10:23:10 +00:00
|
|
|
base64 = "0.21"
|
|
|
|
hex = "0.4"
|
2024-01-24 16:32:47 +00:00
|
|
|
nom = "7.1"
|
2024-02-26 22:59:29 +00:00
|
|
|
quick-xml = "0.31"
|
2022-05-18 10:24:37 +00:00
|
|
|
zstd = { version = "0.9", default-features = false }
|
|
|
|
|
2023-12-30 10:23:10 +00:00
|
|
|
# cryptography & security
|
|
|
|
sodiumoxide = "0.2"
|
|
|
|
argon2 = "0.5"
|
|
|
|
rand = "0.8.5"
|
2024-01-23 15:14:58 +00:00
|
|
|
rustls = "0.22"
|
|
|
|
rustls-pemfile = "2.0"
|
|
|
|
tokio-rustls = "0.25"
|
2023-12-30 10:23:10 +00:00
|
|
|
rpassword = "7.0"
|
2022-06-30 13:22:25 +00:00
|
|
|
|
2023-12-30 10:23:10 +00:00
|
|
|
# login
|
|
|
|
ldap3 = { version = "0.10", default-features = false, features = ["tls-rustls"] }
|
2022-06-01 16:00:56 +00:00
|
|
|
|
2023-12-30 10:23:10 +00:00
|
|
|
# storage
|
2024-02-23 16:31:29 +00:00
|
|
|
k2v-client = { git = "https://git.deuxfleurs.fr/Deuxfleurs/garage.git", branch = "k2v/shared_http_client" }
|
2024-02-23 16:01:51 +00:00
|
|
|
aws-config = { version = "1", features = ["behavior-version-latest"] }
|
|
|
|
aws-sdk-s3 = "1"
|
|
|
|
aws-smithy-runtime = "1"
|
|
|
|
aws-smithy-runtime-api = "1"
|
2023-12-30 10:23:10 +00:00
|
|
|
|
2022-07-20 10:32:58 +00:00
|
|
|
[dev-dependencies]
|
2023-07-25 08:59:48 +00:00
|
|
|
|
2023-12-30 10:23:10 +00:00
|
|
|
[patch.crates-io]
|
2024-01-10 13:45:36 +00:00
|
|
|
imap-types = { git = "https://github.com/superboum/imap-codec", branch = "custom/aerogramme" }
|
|
|
|
imap-codec = { git = "https://github.com/superboum/imap-codec", branch = "custom/aerogramme" }
|
2023-12-30 10:23:10 +00:00
|
|
|
|
2023-12-28 15:37:38 +00:00
|
|
|
[[test]]
|
2024-01-04 10:51:14 +00:00
|
|
|
name = "behavior"
|
|
|
|
path = "tests/behavior.rs"
|
2024-01-03 14:21:51 +00:00
|
|
|
harness = false
|