2025-11-19 02:14:37 +08:00
|
|
|
[package]
|
|
|
|
|
name = "bichon"
|
2026-01-28 13:20:45 +08:00
|
|
|
version = "0.3.7"
|
2025-11-19 02:14:37 +08:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "bichon"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
2026-01-01 20:28:23 +08:00
|
|
|
[[bin]]
|
2026-01-05 14:31:04 +08:00
|
|
|
name = "bichonctl"
|
|
|
|
|
path = "src/bin/bichonctl.rs"
|
2025-11-19 02:14:37 +08:00
|
|
|
|
2026-01-22 13:19:21 +08:00
|
|
|
[[bin]]
|
|
|
|
|
name = "bichon-admin"
|
|
|
|
|
path = "src/bin/bichon_admin.rs"
|
|
|
|
|
|
|
|
|
|
|
2025-11-19 02:14:37 +08:00
|
|
|
[features]
|
|
|
|
|
default = []
|
2025-11-27 02:01:09 +08:00
|
|
|
vendored-openssl = ["openssl-sys"]
|
2025-11-19 02:14:37 +08:00
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
strip = true
|
|
|
|
|
lto = true
|
|
|
|
|
opt-level = 3
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2026-01-22 13:19:21 +08:00
|
|
|
chrono = "0.4.43"
|
2026-01-13 23:32:18 +08:00
|
|
|
clap = { version = "4.5.54", features = ["derive", "env"] }
|
2025-11-19 02:14:37 +08:00
|
|
|
mimalloc = "0.1.48"
|
|
|
|
|
native_db = "0.8.2"
|
|
|
|
|
itertools = "0.14.0"
|
|
|
|
|
native_model = "0.4.20"
|
|
|
|
|
poem = { version = "3.1.12", features = ["embed", "compression", "rustls"] }
|
|
|
|
|
poem-derive = "3.1.12"
|
|
|
|
|
poem-openapi = { version = "5.1.16", features = [
|
|
|
|
|
"openapi-explorer",
|
|
|
|
|
"rapidoc",
|
|
|
|
|
"scalar",
|
|
|
|
|
"redoc",
|
|
|
|
|
"swagger-ui",
|
|
|
|
|
"email",
|
|
|
|
|
] }
|
|
|
|
|
ring = { version = "0.17.14", features = ["std"] }
|
|
|
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
2026-01-22 13:19:21 +08:00
|
|
|
serde_json = "1.0.149"
|
2026-01-13 23:32:18 +08:00
|
|
|
tokio = { version = "1.49.0", features = ["full"] }
|
2025-12-31 22:57:31 +08:00
|
|
|
tracing = "0.1.44"
|
2025-11-19 02:14:37 +08:00
|
|
|
tracing-appender = "0.2.3"
|
2025-11-30 05:53:39 +08:00
|
|
|
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
|
2025-11-19 02:14:37 +08:00
|
|
|
base64 = "0.22.1"
|
|
|
|
|
snafu = "0.8.9"
|
|
|
|
|
reqwest = { version = "0.12.24", default-features = false, features = [
|
|
|
|
|
"json",
|
|
|
|
|
"stream",
|
2025-11-26 09:21:42 +08:00
|
|
|
#"native-tls",
|
|
|
|
|
"rustls-tls",
|
2025-11-19 02:14:37 +08:00
|
|
|
"blocking",
|
|
|
|
|
"socks",
|
|
|
|
|
] }
|
|
|
|
|
tokio-socks = "0.5.2"
|
2025-11-26 09:21:42 +08:00
|
|
|
http = "1.4.0"
|
2025-11-19 02:14:37 +08:00
|
|
|
regex = "1.12.2"
|
|
|
|
|
email_address = "0.2.9"
|
|
|
|
|
futures = "0.3.31"
|
|
|
|
|
utf7-imap = "0.3.2"
|
|
|
|
|
imap-proto = "0.16.6"
|
|
|
|
|
mail-parser = { version = '0.11.1', features = ["serde"] }
|
2025-11-27 01:27:16 +08:00
|
|
|
# mail-send = "0.5.2"
|
2025-11-19 02:14:37 +08:00
|
|
|
tokio-rustls = { version = "0.26.4", default-features = false, features = [
|
|
|
|
|
"ring",
|
|
|
|
|
"tls12",
|
|
|
|
|
] }
|
|
|
|
|
timeago = "0.5.0"
|
|
|
|
|
ahash = "0.8.12"
|
|
|
|
|
oauth2 = { version = "5.0.0", features = ["reqwest-blocking"] }
|
2026-01-13 23:32:18 +08:00
|
|
|
url = { version = "2.5.8", features = ["serde"] }
|
2026-01-28 13:20:45 +08:00
|
|
|
sysinfo = "0.38.0"
|
2025-11-19 02:14:37 +08:00
|
|
|
num_cpus = "1.17.0"
|
|
|
|
|
cacache = { version = "13.1.0", default-features = false, features = [
|
|
|
|
|
"tokio-runtime",
|
|
|
|
|
"mmap",
|
|
|
|
|
] }
|
|
|
|
|
rand = "0.9.2"
|
|
|
|
|
encoding_rs = "0.8.35"
|
|
|
|
|
async-imap = { version = "0.11.1", default-features = false, features = [
|
|
|
|
|
"runtime-tokio",
|
|
|
|
|
"compress",
|
|
|
|
|
] }
|
2026-01-22 13:19:21 +08:00
|
|
|
webpki-roots = "1.0.5"
|
|
|
|
|
rustls = { version = "0.23.36", default-features = false, features = ["ring"] }
|
|
|
|
|
rustls-pki-types = "1.14.0"
|
2025-11-19 02:14:37 +08:00
|
|
|
tokio-io-timeout = "1.2.1"
|
|
|
|
|
semver = "1.0.27"
|
2025-12-31 22:57:31 +08:00
|
|
|
governor = "0.10.4"
|
2026-01-22 13:19:21 +08:00
|
|
|
lru = "0.16.3"
|
2025-11-19 02:14:37 +08:00
|
|
|
mime_guess = "2.0.5"
|
|
|
|
|
hex = "0.4.3"
|
2026-01-28 13:20:45 +08:00
|
|
|
time = { version = "0.3.46", features = [
|
2025-11-19 02:14:37 +08:00
|
|
|
"formatting",
|
|
|
|
|
"parsing",
|
|
|
|
|
"local-offset",
|
|
|
|
|
] }
|
2026-01-22 13:19:21 +08:00
|
|
|
rust-embed = "8.11.0"
|
2025-11-19 02:14:37 +08:00
|
|
|
murmur3 = "0.5.2"
|
|
|
|
|
autoconfig = "0.4.0"
|
|
|
|
|
urlencoding = "2.1.3"
|
|
|
|
|
dashmap = "6.1.0"
|
|
|
|
|
# Statically links OpenSSL by compiling from source, avoiding system library dependencies
|
2025-11-27 02:01:09 +08:00
|
|
|
openssl-sys = { version = "0.9.111", optional = true, features = ["vendored"] }
|
2025-11-19 02:14:37 +08:00
|
|
|
gethostname = "1.1.0"
|
|
|
|
|
tantivy = { version = "0.25.0", features = ["quickwit", "zstd-compression"] }
|
2025-12-31 22:57:31 +08:00
|
|
|
itoa = "1.0.17"
|
2026-01-22 13:19:21 +08:00
|
|
|
html2text = "0.16.6"
|
2025-11-19 02:14:37 +08:00
|
|
|
bytes = "1.11.0"
|
2026-01-05 14:31:04 +08:00
|
|
|
dialoguer = "0.12.0"
|
|
|
|
|
console = "0.16.2"
|
|
|
|
|
toml = "0.9.8"
|
|
|
|
|
memmap2 = "0.9.9"
|
2026-01-13 23:32:18 +08:00
|
|
|
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"
|
2025-11-19 02:14:37 +08:00
|
|
|
[dev-dependencies]
|
|
|
|
|
#bincode = "1.3.3"
|
|
|
|
|
#secret-lib = "1.0.0"
|
2025-12-31 22:57:31 +08:00
|
|
|
tempfile = "3.24.0"
|