mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-06 10:00: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
59 lines
1.1 KiB
TOML
59 lines
1.1 KiB
TOML
[package]
|
|
name = "quantization"
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Andrey Vasnetsov <vasnetsov93@gmail.com>",
|
|
"Qdrant Team <info@qdrant.tech>",
|
|
]
|
|
license = "Apache-2.0"
|
|
edition = "2024"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
testing = ["common/testing"]
|
|
|
|
[build-dependencies]
|
|
cc = { workspace = true }
|
|
|
|
[dependencies]
|
|
fs-err = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
permutation_iterator = "0.1.2"
|
|
rand = { workspace = true }
|
|
rayon = { workspace = true }
|
|
num-traits = { workspace = true }
|
|
common = { path = "../common/common" }
|
|
strum = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
ordered-float = { workspace = true }
|
|
arrayvec = "0.7.6"
|
|
|
|
[dev-dependencies]
|
|
fs-err = { workspace = true, features = ["debug"] }
|
|
quantization = { path = ".", features = ["testing"] }
|
|
criterion = { workspace = true }
|
|
num_threads = "0.1.6"
|
|
rand_distr = { workspace = true }
|
|
rstest = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "encode"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "pq"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "binary"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "p_square"
|
|
harness = false
|