mirror of
https://github.com/qdrant/qdrant.git
synced 2026-07-31 07:00:56 -05:00
* Skip broken tests
* Add rocksdb dropper
This is a temporary tool. It will be removed later in this PR.
* [automated] Drop rocksdb
This commit is made by running tools/rocksdb/drop.sh
* Touch-up after ast-grep
The previous automated commit removed items, but not their comments.
Also, some blocks are left with only one item.
Also, ast-grep can't handle macros like `vec![]`.
This commit completes the job.
* Remove RocksDB dropper
* Remove mentions of rocksdb feature in CI
* Fix clippy warnings
These `FIXME` comments added previously in this PR by ast-grep by
"peeling" cfg_attr like this:
-#[cfg_attr(not(feature = "rocksdb"), expect(...))]
+#[expect(...)] // FIXME(rocksdb): ...
This commit removes these allow/expect attributes and fixes clippy
lints.
* Remove leftover rocksdb-related code
Removed:
- Cargo.toml: rocksdb cargo feature flag and dependencies.
- code: rocksdb-related items that was not under feature flag.
- flags.rs: rocksdb-related qdrant feature flags.
Disabled:
- Some benchmarks because these do not compile now.
* Print warning if rocksdb leftovers found in snapshots
* Remove Clone from tokenizer
* Regenerate openapi.json
213 lines
4.7 KiB
TOML
213 lines
4.7 KiB
TOML
[package]
|
|
name = "segment"
|
|
version = "0.6.0"
|
|
authors = [
|
|
"Andrey Vasnetsov <vasnetsov93@gmail.com>",
|
|
"Qdrant Team <info@qdrant.tech>",
|
|
]
|
|
license = "Apache-2.0"
|
|
edition = "2024"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
testing = ["common/testing", "sparse/testing", "gpu/testing", "quantization/testing"]
|
|
gpu = ["gpu/gpu"]
|
|
|
|
[build-dependencies]
|
|
cc = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
clap = { workspace = true }
|
|
criterion = { workspace = true }
|
|
dataset = { path = "../common/dataset" }
|
|
env_logger = { workspace = true }
|
|
fs-err = { workspace = true, features = ["debug"] }
|
|
humantime = { workspace = true }
|
|
indicatif = { workspace = true }
|
|
ndarray = "0.17.2"
|
|
ndarray-npy = { version = "0.10.0", default-features = false }
|
|
rmp-serde = { workspace = true }
|
|
rand_distr = { workspace = true }
|
|
walkdir = { workspace = true }
|
|
rstest = { workspace = true }
|
|
segment = { path = ".", default-features = false, features = ["testing"] }
|
|
proptest = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
|
|
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
|
|
pprof = { workspace = true }
|
|
|
|
[dependencies]
|
|
bytemuck = { workspace = true }
|
|
data-encoding = { workspace = true }
|
|
delegate = { workspace = true }
|
|
fs-err = { workspace = true }
|
|
integer-encoding = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
rayon = { workspace = true }
|
|
itertools = { workspace = true }
|
|
uuid = { workspace = true }
|
|
bincode = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_cbor = { workspace = true }
|
|
serde-value = "0.7"
|
|
serde_variant = { workspace = true }
|
|
serde-untagged = "0.1.9"
|
|
ordered-float = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
atomic_refcell = { workspace = true }
|
|
atomicwrites = { workspace = true }
|
|
memmap2 = { workspace = true }
|
|
schemars = { workspace = true }
|
|
log = { workspace = true }
|
|
geo = "0.32.0"
|
|
geohash = "0.13.1"
|
|
num-traits = { workspace = true }
|
|
num-derive = "0.4.2"
|
|
num-cmp = "0.1.0"
|
|
rand = { workspace = true }
|
|
bitvec = { workspace = true }
|
|
seahash = "4.1.0"
|
|
semver = { workspace = true }
|
|
fs_extra = { workspace = true }
|
|
tinyvec = { workspace = true }
|
|
validator = { workspace = true }
|
|
chrono = { workspace = true }
|
|
ecow = { workspace = true }
|
|
fnv = { workspace = true }
|
|
indexmap = { workspace = true }
|
|
ahash = { workspace = true }
|
|
self_cell.workspace = true
|
|
sha2 = { workspace = true }
|
|
smallvec = { workspace = true }
|
|
strum = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
tap = { workspace = true }
|
|
zerocopy = { workspace = true }
|
|
vaporetto = { version = "0.6.5" }
|
|
rust-stemmers = { package = "qdrant-rust-stemmers", version = "1.2.2" }
|
|
sysinfo = "0.38"
|
|
charabia = { version = "0.9.9", default-features = false, features = [
|
|
"greek",
|
|
"hebrew",
|
|
"thai",
|
|
"chinese-segmentation",
|
|
"chinese-normalization",
|
|
] }
|
|
|
|
gridstore = { path = "../gridstore" }
|
|
|
|
common = { path = "../common/common" }
|
|
macros = { path = "../macros" }
|
|
posting_list = { path = "../posting_list" }
|
|
quantization = { path = "../quantization" }
|
|
sparse = { path = "../sparse" }
|
|
gpu = { path = "../gpu" }
|
|
|
|
tracing = { workspace = true, optional = true }
|
|
macro_rules_attribute = "0.2.2"
|
|
nom = "8.0.0"
|
|
half = { workspace = true }
|
|
roaring = { version = "0.11.3" }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
cgroups-rs = "0.5"
|
|
procfs = { version = "0.18", default-features = false }
|
|
io-uring = "0.7.11"
|
|
|
|
[[bench]]
|
|
name = "vector_search"
|
|
harness = false
|
|
bench = false # TODO(rocksdb): fix and re-enable (or just remove)
|
|
|
|
[[bench]]
|
|
name = "hnsw_build_graph"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "hnsw_search_graph"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "conditional_search"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "dynamic_mmap_flags"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "hnsw_build_asymptotic"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "serde_formats"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "id_type_benchmark"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "map_benchmark"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "boolean_filtering"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "numeric_index_check_values"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "sparse_index_search"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "sparse_index_build"
|
|
harness = false
|
|
bench = false # TODO(rocksdb): fix and re-enable (or just remove)
|
|
|
|
[[bench]]
|
|
name = "sparse_vector_storage"
|
|
harness = false
|
|
bench = false # TODO(rocksdb): fix and re-enable (or just remove)
|
|
|
|
[[bench]]
|
|
name = "multi_vector_search"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "metrics"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "range_filtering"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "in_memory_id_tracker"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "mmap_bitslice_buffered_update_wrapper"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "scorer_mmap"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "segment_info"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "hnsw_incremental_build"
|
|
harness = false
|