refactor!: replace Tantivy search engine with DuckDB

This commit is contained in:
rustmailer
2026-03-03 12:30:26 +08:00
parent ef4ab3496e
commit d2936ed4a7
52 changed files with 3594 additions and 1821 deletions
+27 -16
View File
@@ -1,6 +1,6 @@
[package]
name = "bichon"
version = "0.3.7"
version = "1.0.0"
edition = "2021"
[[bin]]
@@ -27,8 +27,8 @@ opt-level = 3
codegen-units = 1
[dependencies]
chrono = "0.4.43"
clap = { version = "4.5.56", features = ["derive", "env"] }
chrono = "0.4.44"
clap = { version = "4.5.60", features = ["derive", "env"] }
mimalloc = "0.1.48"
native_db = "0.8.2"
itertools = "0.14.0"
@@ -62,35 +62,35 @@ reqwest = { version = "0.12.24", default-features = false, features = [
] }
tokio-socks = "0.5.2"
http = "1.4.0"
regex = "1.12.2"
regex = "1.12.3"
email_address = "0.2.9"
futures = "0.3.31"
futures = "0.3.32"
utf7-imap = "0.3.2"
imap-proto = "0.16.6"
mail-parser = { version = '0.11.1', features = ["serde"] }
mail-parser = { version = '0.11.2', features = ["serde"] }
# mail-send = "0.5.2"
tokio-rustls = { version = "0.26.4", default-features = false, features = [
"ring",
"tls12",
] }
timeago = "0.5.0"
timeago = "0.6.0"
ahash = "0.8.12"
oauth2 = { version = "5.0.0", features = ["reqwest-blocking"] }
url = { version = "2.5.8", features = ["serde"] }
sysinfo = "0.38.0"
sysinfo = "0.38.2"
num_cpus = "1.17.0"
cacache = { version = "13.1.0", default-features = false, features = [
"tokio-runtime",
"mmap",
] }
rand = "0.9.2"
rand = "0.10.0"
encoding_rs = "0.8.35"
async-imap = { version = "0.11.1", default-features = false, features = [
async-imap = { version = "0.11.2", default-features = false, features = [
"runtime-tokio",
"compress",
] }
webpki-roots = "1.0.5"
rustls = { version = "0.23.36", default-features = false, features = ["ring"] }
webpki-roots = "1.0.6"
rustls = { version = "0.23.37", default-features = false, features = ["ring"] }
rustls-pki-types = "1.14.0"
tokio-io-timeout = "1.2.1"
semver = "1.0.27"
@@ -98,7 +98,7 @@ governor = "0.10.4"
lru = "0.16.3"
mime_guess = "2.0.5"
hex = "0.4.3"
time = { version = "0.3.46", features = [
time = { version = "0.3.47", features = [
"formatting",
"parsing",
"local-offset",
@@ -114,16 +114,27 @@ gethostname = "1.1.0"
tantivy = { version = "0.25.0", features = ["quickwit", "zstd-compression"] }
itoa = "1.0.17"
html2text = "0.16.7"
bytes = "1.11.0"
bytes = "1.11.1"
dialoguer = "0.12.0"
console = "0.16.2"
toml = "0.9.8"
memmap2 = "0.9.9"
memmap2 = "0.9.10"
outlook-pst = { git = "https://github.com/rustmailer/outlook-pst-rs.git", branch = "main" }
compressed-rtf = "1.0.0"
codepage-strings = "1.0.2"
mail-send = "0.5.2"
duckdb = { version = "1.4.4", features = [
"chrono",
"bundled",
"r2d2",
"appender-arrow",
] }
arrow = { version = "56.2.0", features = ["ffi"] }
r2d2 = { version = "0.8", default-features = false }
refinery = { version = "0.9", default-features = false }
refinery-core = { version = "0.9", default-features = false }
[dev-dependencies]
#bincode = "1.3.3"
#secret-lib = "1.0.0"
tempfile = "3.24.0"
tempfile = "3.26.0"