mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-11-28 09:07:32 +00:00
66 lines
2.6 KiB
TOML
66 lines
2.6 KiB
TOML
[package]
|
|
name = "store"
|
|
version = "0.8.0"
|
|
edition = "2021"
|
|
resolver = "2"
|
|
|
|
[dependencies]
|
|
utils = { path = "../utils" }
|
|
nlp = { path = "../nlp" }
|
|
rocksdb = { version = "0.22", optional = true, features = ["multi-threaded-cf"] }
|
|
foundationdb = { version = "0.9.0", features = ["embedded-fdb-include", "fdb-7_1"], optional = true }
|
|
rusqlite = { version = "0.31.0", features = ["bundled"], optional = true }
|
|
rust-s3 = { version = "0.33.0", default-features = false, features = ["tokio-rustls-tls", "no-verify-ssl"], optional = true }
|
|
tokio = { version = "1.23", features = ["sync", "fs", "io-util"] }
|
|
r2d2 = { version = "0.8.10", optional = true }
|
|
futures = { version = "0.3", optional = true }
|
|
rand = "0.8.5"
|
|
roaring = "0.10.1"
|
|
rayon = { version = "1.5.1", optional = true }
|
|
serde = { version = "1.0", features = ["derive"]}
|
|
ahash = { version = "0.8.0", features = ["serde"] }
|
|
lazy_static = "1.4"
|
|
xxhash-rust = { version = "0.8.5", features = ["xxh3"] }
|
|
farmhash = "1.1.5"
|
|
parking_lot = "0.12.1"
|
|
lru-cache = { version = "0.1.2", optional = true }
|
|
num_cpus = { version = "1.15.0", optional = true }
|
|
blake3 = "1.3.3"
|
|
tracing = "0.1"
|
|
lz4_flex = { version = "0.11", default-features = false }
|
|
deadpool-postgres = { version = "0.12.1", optional = true }
|
|
tokio-postgres = { version = "0.7.10", optional = true }
|
|
tokio-rustls = { version = "0.25.0", optional = true }
|
|
rustls = { version = "0.22.0", optional = true }
|
|
rustls-pki-types = { version = "1", optional = true }
|
|
ring = { version = "0.17", optional = true }
|
|
bytes = { version = "1.0", optional = true }
|
|
mysql_async = { version = "0.34", default-features = false, features = ["default-rustls"], optional = true }
|
|
elasticsearch = { version = "8.5.0-alpha.1", default-features = false, features = ["rustls-tls"], optional = true }
|
|
serde_json = {version = "1.0.64", optional = true }
|
|
regex = "1.7.0"
|
|
flate2 = "1.0"
|
|
async-trait = "0.1.68"
|
|
redis = { version = "0.25.2", features = [ "tokio-comp", "tokio-rustls-comp", "tls-rustls-insecure", "tls-rustls-webpki-roots", "cluster-async"], optional = true }
|
|
deadpool = { version = "0.10.0", features = ["managed"], optional = true }
|
|
bincode = "1.3.3"
|
|
arc-swap = "1.6.0"
|
|
bitpacking = "0.9.2"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.23", features = ["full"] }
|
|
|
|
[features]
|
|
rocks = ["rocksdb", "rayon", "num_cpus"]
|
|
sqlite = ["rusqlite", "rayon", "r2d2", "num_cpus", "lru-cache"]
|
|
postgres = ["tokio-postgres", "deadpool-postgres", "tokio-rustls", "rustls", "ring", "rustls-pki-types", "futures", "bytes"]
|
|
elastic = ["elasticsearch", "serde_json"]
|
|
mysql = ["mysql_async"]
|
|
s3 = ["rust-s3"]
|
|
foundation = ["foundationdb", "futures"]
|
|
fdb-chunked-bm = []
|
|
redis = ["dep:redis", "deadpool"]
|
|
|
|
test_mode = []
|
|
|
|
|