[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 }
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
