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-04-19 16:55:37 +00:00
|
|
|
maybe-async = { path = "../maybe-async" }
|
2023-04-04 13:12:46 +00:00
|
|
|
rocksdb = { version = "0.20.1", optional = true }
|
2023-07-07 07:27:22 +00:00
|
|
|
foundationdb = { version = "0.8.0", features = ["embedded-fdb-include"], optional = true }
|
2023-04-04 13:12:46 +00:00
|
|
|
rusqlite = { version = "0.29.0", features = ["bundled"], optional = true }
|
2023-06-06 16:53:29 +00:00
|
|
|
rust-s3 = { version = "0.33.0", default-features = false, features = ["tokio-rustls-tls"] }
|
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"] }
|
|
|
|
bitpacking = "0.8.4"
|
|
|
|
lazy_static = "1.4"
|
|
|
|
whatlang = "0.16" # Language detection
|
|
|
|
rust-stemmers = "1.2" # Stemmers
|
|
|
|
tinysegmenter = "0.1" # Japanese tokenizer
|
|
|
|
jieba-rs = "0.6" # Chinese stemmer
|
|
|
|
xxhash-rust = { version = "0.8.5", features = ["xxh3"] }
|
|
|
|
farmhash = "1.1.5"
|
|
|
|
siphasher = "0.3"
|
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"
|
2023-04-04 13:12:46 +00:00
|
|
|
|
|
|
|
[features]
|
2023-05-28 12:52:52 +00:00
|
|
|
rocks = ["rocksdb", "rayon", "is_sync", "backend"]
|
|
|
|
sqlite = ["rusqlite", "rayon", "r2d2", "num_cpus", "is_sync", "backend"]
|
|
|
|
foundation = ["foundationdb", "futures", "key_subspace", "backend"]
|
2023-05-26 14:57:04 +00:00
|
|
|
is_sync = ["maybe-async/is_sync", "lru-cache"]
|
2023-05-28 12:52:52 +00:00
|
|
|
backend = []
|
2023-04-14 06:58:05 +00:00
|
|
|
key_subspace = []
|
2023-04-05 16:05:21 +00:00
|
|
|
test_mode = []
|