2023-04-04 13:12:46 +00:00
|
|
|
[package]
|
|
|
|
name = "store"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-04-19 16:55:37 +00:00
|
|
|
resolver = "2"
|
2023-04-04 13:12:46 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-14 07:04:36 +00:00
|
|
|
utils = { path = "../utils" }
|
2023-10-10 16:58:38 +00:00
|
|
|
nlp = { path = "../nlp" }
|
2024-02-15 17:57:21 +00:00
|
|
|
rocksdb = { version = "0.22", optional = true, features = ["multi-threaded-cf"] }
|
2023-07-07 07:27:22 +00:00
|
|
|
foundationdb = { version = "0.8.0", features = ["embedded-fdb-include"], optional = true }
|
2024-03-02 11:21:03 +00:00
|
|
|
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 }
|
2023-04-19 16:55:37 +00:00
|
|
|
tokio = { version = "1.23", features = ["sync", "fs", "io-util"] }
|
2023-04-04 13:12:46 +00:00
|
|
|
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"
|
2023-05-26 14:57:04 +00:00
|
|
|
parking_lot = "0.12.1"
|
2023-04-04 13:12:46 +00:00
|
|
|
lru-cache = { version = "0.1.2", optional = true }
|
2023-05-25 15:37:21 +00:00
|
|
|
num_cpus = { version = "1.15.0", optional = true }
|
2023-04-04 13:12:46 +00:00
|
|
|
blake3 = "1.3.3"
|
2023-05-02 15:51:26 +00:00
|
|
|
tracing = "0.1"
|
2024-03-02 17:02:30 +00:00
|
|
|
lz4_flex = { version = "0.11", default-features = false }
|
2023-12-20 16:06:32 +00:00
|
|
|
deadpool-postgres = { version = "0.12.1", optional = true }
|
2023-12-02 14:52:05 +00:00
|
|
|
tokio-postgres = { version = "0.7.10", optional = true }
|
2023-12-08 09:46:20 +00:00
|
|
|
tokio-rustls = { version = "0.25.0", optional = true }
|
|
|
|
rustls = { version = "0.22.0", optional = true }
|
|
|
|
rustls-pki-types = { version = "1", optional = true }
|
2023-12-02 14:52:05 +00:00
|
|
|
ring = { version = "0.17", optional = true }
|
2023-12-07 15:27:19 +00:00
|
|
|
bytes = { version = "1.0", optional = true }
|
2023-12-02 14:52:05 +00:00
|
|
|
mysql_async = { version = "0.33", default-features = false, features = ["default-rustls"], optional = true }
|
2023-12-03 18:40:16 +00:00
|
|
|
elasticsearch = { version = "8.5.0-alpha.1", default-features = false, features = ["rustls-tls"], optional = true }
|
|
|
|
serde_json = {version = "1.0.64", optional = true }
|
2023-12-07 15:27:19 +00:00
|
|
|
regex = "1.7.0"
|
|
|
|
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls-webpki-roots", "blocking"] }
|
|
|
|
flate2 = "1.0"
|
|
|
|
async-trait = "0.1.68"
|
2023-12-12 17:45:52 +00:00
|
|
|
redis = { version = "0.24.0", 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 }
|
2024-02-08 23:03:57 +00:00
|
|
|
bincode = "1.3.3"
|
2024-02-13 13:35:28 +00:00
|
|
|
arc-swap = "1.6.0"
|
2023-04-04 13:12:46 +00:00
|
|
|
|
2023-07-11 15:16:08 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "1.23", features = ["full"] }
|
|
|
|
|
2023-04-04 13:12:46 +00:00
|
|
|
[features]
|
2023-12-02 14:52:05 +00:00
|
|
|
rocks = ["rocksdb", "rayon", "num_cpus"]
|
2023-11-07 18:27:57 +00:00
|
|
|
sqlite = ["rusqlite", "rayon", "r2d2", "num_cpus", "lru-cache"]
|
2023-12-08 09:46:20 +00:00
|
|
|
postgres = ["tokio-postgres", "deadpool-postgres", "tokio-rustls", "rustls", "ring", "rustls-pki-types", "futures", "bytes"]
|
2023-12-03 18:40:16 +00:00
|
|
|
elastic = ["elasticsearch", "serde_json"]
|
2023-12-02 14:52:05 +00:00
|
|
|
mysql = ["mysql_async"]
|
2023-12-03 18:40:16 +00:00
|
|
|
s3 = ["rust-s3"]
|
2023-11-07 18:27:57 +00:00
|
|
|
foundation = ["foundationdb", "futures"]
|
2023-12-08 18:49:44 +00:00
|
|
|
fdb-chunked-bm = []
|
2023-12-12 17:45:52 +00:00
|
|
|
redis = ["dep:redis", "deadpool"]
|
2023-12-02 14:52:05 +00:00
|
|
|
|
2023-04-05 16:05:21 +00:00
|
|
|
test_mode = []
|
2023-11-07 18:27:57 +00:00
|
|
|
|
|
|
|
|