Files
qdrant/lib/shard/Cargo.toml
xzfc 628195fafe Remove shard dependency on api (#8284)
* Move `DenseVector`/`MultiDenseVector` from `api` to `segment`

* Move `OrderByInterface` from `api` to `segment`

Reason: it's used in `edge` which shouldn't depend on `api`.

* Make `shard` -> `api` dependency optional

* Remove `api` from the amalgamation

* Don't install protoc in edge Actions
2026-03-05 04:38:02 +00:00

65 lines
1.6 KiB
TOML

[package]
name = "shard"
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]
default = ["api"]
testing = []
staging = []
[dependencies]
api = { path = "../api", optional = true }
common = { path = "../common/common" }
segment = { path = "../segment", default-features = false }
sparse = { path = "../sparse" }
wal = { path = "../wal" }
ahash = { workspace = true }
bitvec = { workspace = true }
chrono = { workspace = true }
indexmap = { workspace = true }
itertools = { workspace = true }
log = { workspace = true }
ordered-float = { workspace = true }
parking_lot = { workspace = true }
rand = { workspace = true }
rmp-serde = { workspace = true }
schemars = { workspace = true }
serde = { workspace = true }
serde_cbor = { workspace = true }
smallvec = { workspace = true }
strum = { workspace = true }
thiserror = { workspace = true }
tonic = { workspace = true }
uuid = { workspace = true }
validator = { workspace = true }
serde_json = { workspace = true }
fs-err = { workspace = true }
fs4 = { workspace = true }
tempfile = { workspace = true }
[dev-dependencies]
segment = { path = "../segment", default-features = false, features = ["testing"] }
shard = { path = ".", default-features = false, features = ["testing"] }
criterion = { workspace = true }
fs-err = { workspace = true, features = ["debug"] }
proptest = { workspace = true }
rstest = { workspace = true }
serde_cbor = { workspace = true }
tar = { workspace = true }
[[bench]]
name = "find_duplicated_points"
harness = false