[package]
name = "sparse"
version = "0.1.0"
authors = [
    "Andrey Vasnetsov <andrey@vasnetsov.com>",
    "Qdrant Team <info@qdrant.tech>",
]
license = "Apache-2.0"
edition = "2024"

[lints]
workspace = true

[features]
testing = ["common/testing"]

[dependencies]
bitpacking = { workspace = true }
blink-alloc = { workspace = true }
gridstore = { path = "../gridstore" }
bincode = { workspace = true }
common = { path = "../common/common" }
fs-err = { workspace = true }
half = { workspace = true }
memmap2 = { workspace = true }
schemars = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tempfile = { workspace = true }
ordered-float = { workspace = true }
rand = { workspace = true }
validator = { workspace = true }
itertools = { workspace = true }
parking_lot = { workspace = true }
log = { workspace = true }
zerocopy = { workspace = true }

[dev-dependencies]
criterion = { workspace = true }
dataset = { path = "../common/dataset" }
duplicate = "2.0.1"
fs-err = { workspace = true, features = ["debug"] }
generic-tests = { workspace = true }
indicatif = { workspace = true }
sha2 = { workspace = true }
sparse = { path = ".", features = ["testing"] }
zerocopy = { workspace = true }

[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
pprof = { workspace = true }

[[bench]]
name = "search"
harness = false
