diff options
author | Quentin <quentin@dufour.io> | 2024-01-02 22:44:29 +0000 |
---|---|---|
committer | Quentin <quentin@dufour.io> | 2024-01-02 22:44:29 +0000 |
commit | b9a0c1e6eced036eb71e8221a4f236f72832fec2 (patch) | |
tree | c498a7a2a5833f2c6f27d4ba97894747f9d454c0 /Cargo.toml | |
parent | 6ff3c6f71efd802da422a371e6168ae528fb2ddc (diff) | |
parent | c9a33c080d39d4a2b269e3c8f166a708b6606da5 (diff) | |
download | aerogramme-b9a0c1e6eced036eb71e8221a4f236f72832fec2.tar.gz aerogramme-b9a0c1e6eced036eb71e8221a4f236f72832fec2.zip |
Merge pull request 'Implement imap-flow' (#34) from refactor/imap-flow into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/pulls/34
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 73 |
1 files changed, 46 insertions, 27 deletions
@@ -7,48 +7,67 @@ license = "AGPL-3.0" description = "Encrypted mail storage over Garage" [dependencies] -aws-config = { version = "1.1.1", features = ["behavior-version-latest"] } -aws-sdk-s3 = "1.9.0" -anyhow = "1.0.28" -argon2 = "0.5" -async-trait = "0.1" +# 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" backtrace = "0.3" -base64 = "0.21" -clap = { version = "3.1.18", features = ["derive", "env"] } +tracing-subscriber = "0.3" +tracing = "0.1" + +# language extensions +lazy_static = "1.4" duplexify = "1.1.0" -eml-codec = { git = "https://git.deuxfleurs.fr/Deuxfleurs/eml-codec.git", branch = "main" } -hex = "0.4" -futures = "0.3" im = "15" +anyhow = "1.0.28" +async-trait = "0.1" itertools = "0.10" -lazy_static = "1.4" -ldap3 = { version = "0.10", default-features = false, features = ["tls-rustls"] } -log = "0.4" -hyper-rustls = { version = "0.24", features = ["http2"] } +chrono = { version = "0.4", default-features = false, features = ["alloc"] } + +# process related nix = { version = "0.27", features = ["signal"] } +clap = { version = "3.1.18", features = ["derive", "env"] } + +# serialization serde = "1.0.137" -rand = "0.8.5" rmp-serde = "0.15" -rpassword = "7.0" -sodiumoxide = "0.2" -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" ] } toml = "0.5" +base64 = "0.21" +hex = "0.4" zstd = { version = "0.9", default-features = false } -tracing-subscriber = "0.3" -tracing = "0.1" -tower = "0.4" +# cryptography & security +sodiumoxide = "0.2" +argon2 = "0.5" +rand = "0.8.5" +hyper-rustls = { version = "0.24", features = ["http2"] } +rpassword = "7.0" -imap-codec = { git = "https://github.com/superboum/imap-codec.git", branch = "v0.5.x" } -chrono = { version = "0.4", default-features = false, features = ["alloc"] } +# login +ldap3 = { version = "0.10", default-features = false, features = ["tls-rustls"] } +# storage k2v-client = { git = "https://git.deuxfleurs.fr/Deuxfleurs/garage.git", tag = "v0.9.0" } -boitalettres = { git = "https://git.deuxfleurs.fr/quentin/boitalettres.git", branch = "expose-mydatetime" } +aws-config = { version = "1.1.1", features = ["behavior-version-latest"] } +aws-sdk-s3 = "1.9.0" + +# email protocols +eml-codec = { git = "https://git.deuxfleurs.fr/Deuxfleurs/eml-codec.git", branch = "main" } smtp-message = { git = "http://github.com/Alexis211/kannader", branch = "feature/lmtp" } smtp-server = { git = "http://github.com/Alexis211/kannader", branch = "feature/lmtp" } - -#k2v-client = { path = "../garage/src/k2v-client" } +imap-codec = { version = "1.0.0", features = ["quirk_crlf_relaxed", "bounded-static"] } +imap-flow = { git = "https://github.com/duesee/imap-flow.git", rev = "e45ce7bb6ab6bda3c71a0c7b05e9b558a5902e90" } [dev-dependencies] +[patch.crates-io] +imap-types = { git = "https://github.com/duesee/imap-codec", branch = "v2" } +imap-codec = { git = "https://github.com/duesee/imap-codec", branch = "v2" } + +[[test]] +name = "imap_features" +path = "tests/imap_features.rs" +harness = false |