mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-06 18:10:58 -05:00
* Unify parking_lot/arc_lock feature
* Move lib/common/{io,memory}/* -> lib/common/common/*
- Mmap-related items are grouped into `common::mmap` sub-module:
- `memory/src/chunked_utils.rs` -> `common/src/mmap/chunked.rs`
- `memory/src/madvise.rs` -> `common/src/mmap/advice.rs`
- `memory/src/mmap_ops.rs` -> `common/src/mmap/ops.rs`
- `memory/src/mmap_type_readonly.rs` -> `common/src/mmap/mmap_readonly.rs`
- `memory/src/mmap_type.rs` -> `common/src/mmap/mmap_rw.rs`
- Filesystem-related items are grouped into `common::fs` sub-module:
- `common/src/fs.rs` -> `common/src/fs/sync.rs`
- `io/src/file_operations.rs` -> `common/src/fs/ops.rs`
- `io/src/move_files.rs` -> `common/src/fs/move.rs`
- `io/src/safe_delete.rs` -> `common/src/fs/safe_delete.rs`
- `memory/src/checkfs.rs` -> `common/src/fs/check.rs`
- `memory/src/fadvise.rs` -> `common/src/fs/fadvise.rs`
- Rest is moved straight into `common`:
- `io/src/storage_version.rs` -> `common/src/storage_version.rs`
The old `io` and `memory` are now hollow crates that re-export items
from `common`. These hollow crates will be removed in next commits.
* Replace uses of `io` and `memory` with new paths in `common`
Since `io` and `memory` are just re-exports of `common`, these
replacements are no-op.
* Remove `io` and `memory` crates
68 lines
1.5 KiB
TOML
68 lines
1.5 KiB
TOML
[package]
|
|
name = "gridstore"
|
|
version = "0.1.0"
|
|
authors = ["Qdrant Team <info@qdrant.tech>"]
|
|
license = "Apache-2.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
rocksdb = ["dep:rocksdb"]
|
|
|
|
[dependencies]
|
|
ahash = { workspace = true }
|
|
ecow = { workspace = true }
|
|
fs-err = { workspace = true }
|
|
memmap2 = { workspace = true }
|
|
serde_cbor = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde = { workspace = true }
|
|
smallvec = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
lz4_flex = { version = "0.12.0", default-features = false }
|
|
log = { workspace = true }
|
|
rand = { workspace = true }
|
|
bitvec = { workspace = true }
|
|
itertools = { workspace = true }
|
|
zerocopy = { workspace = true }
|
|
dataset = { path = "../common/dataset" }
|
|
common = { path = "../common/common" }
|
|
|
|
# this is not on dev-dependencies because dev-dependencies cannot be optional :(
|
|
rocksdb = { version = "0.24.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
criterion = { workspace = true }
|
|
csv = "1.4.0"
|
|
fs-err = { workspace = true, features = ["debug"] }
|
|
rstest = { workspace = true }
|
|
proptest = { workspace = true }
|
|
bustle = "0.5.1"
|
|
common = { path = "../common/common", features = ["testing"] }
|
|
env_logger = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "random_data_bench"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "real_data_bench"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "bitmask_bench"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "bustle_bench"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "flush_bench"
|
|
harness = false
|