feat: use fjall to store detached emails and attachments

This commit is contained in:
rustmailer
2026-04-01 04:49:18 +08:00
parent c123ecb24a
commit bd10e15c65
36 changed files with 569 additions and 1542 deletions
+8 -12
View File
@@ -79,10 +79,6 @@ oauth2 = { version = "5.0.0", features = ["reqwest-blocking"] }
url = { version = "2.5.8", features = ["serde"] }
sysinfo = "0.38.4"
num_cpus = "1.17.0"
cacache = { version = "13.1.0", default-features = false, features = [
"tokio-runtime",
"mmap",
] }
rand = "0.10.0"
encoding_rs = "0.8.35"
async-imap = { version = "0.11.2", default-features = false, features = [
@@ -111,8 +107,7 @@ dashmap = "6.1.0"
# Statically links OpenSSL by compiling from source, avoiding system library dependencies
openssl-sys = { version = "0.9.112", optional = true, features = ["vendored"] }
gethostname = "1.1.0"
tantivy = { version = "0.25.0", features = ["quickwit", "zstd-compression"] }
itoa = "1.0.17"
itoa = "1.0.18"
html2text = "0.16.7"
bytes = "1.11.1"
dialoguer = "0.12.0"
@@ -120,25 +115,26 @@ console = "0.16.3"
toml = "0.9.8"
memmap2 = "0.9.10"
outlook-pst = { git = "https://github.com/rustmailer/outlook-pst-rs.git", branch = "main" }
compressed-rtf = "1.0.0"
compressed-rtf = "1.0.1"
codepage-strings = "1.0.2"
mail-send = "0.5.2"
duckdb = { version = "1.10500.0", features = [
duckdb = { version = "1.10501.0", features = [
"chrono",
"bundled",
"r2d2",
"appender-arrow",
] }
arrow = { version = "57", features = ["ffi"] }
arrow = { version = "58", features = ["ffi"] }
r2d2 = { version = "0.8", default-features = false }
refinery = { version = "0.9", default-features = false }
refinery-core = { version = "0.9", default-features = false }
rcgen = "0.14.7"
rustls-pemfile = "2.2.0"
blake3 = "1.8.3"
uuid = { version = "1.22.0", features = ["v4", "serde"] }
blake3 = "1.8.4"
uuid = { version = "1.23.0", features = ["v4", "serde"] }
fjall = { version = "3.1.2", features = ["lz4", "metrics", "bytes_1"] }
[dev-dependencies]
#bincode = "1.3.3"
#secret-lib = "1.0.0"
tempfile = "3.27.0"
lettre = "0.11.19"
lettre = "0.11.20"