[package]
name = "ruvector-graph"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
readme = "README.md"
description = "Distributed Neo4j-compatible hypergraph database with SIMD optimization"
[dependencies]
ruvector-core = { version = "0.1.2", path = "../ruvector-core", default-features = false, features = ["simd"] }
ruvector-raft = { version = "0.1.2", path = "../ruvector-raft", optional = true }
ruvector-cluster = { version = "0.1.2", path = "../ruvector-cluster", optional = true }
ruvector-replication = { version = "0.1.2", path = "../ruvector-replication", optional = true }
redb = { workspace = true, optional = true }
memmap2 = { workspace = true, optional = true }
hnsw_rs = { workspace = true, optional = true }
simsimd = { workspace = true, optional = true }
rayon = { workspace = true }
crossbeam = { workspace = true }
num_cpus = "1.16"
rkyv = { workspace = true }
bincode = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "sync", "macros", "time", "net"], optional = true }
futures = { workspace = true, optional = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
dashmap = { workspace = true }
parking_lot = { workspace = true }
once_cell = { workspace = true }
ndarray = { workspace = true }
rand = { workspace = true }
rand_distr = { workspace = true }
ordered-float = "4.2"
chrono = { workspace = true }
uuid = { workspace = true, features = ["v4", "serde"] }
petgraph = "0.6"
roaring = "0.10"
nom = "7.1"
nom_locate = "4.2"
pest = { version = "2.7", optional = true }
pest_derive = { version = "2.7", optional = true }
lalrpop-util = { version = "0.21", optional = true }
lru = "0.12"
moka = { version = "0.12", features = ["future"], optional = true }
zstd = { version = "0.13", optional = true }
lz4 = { version = "1.24", optional = true }
tonic = { version = "0.12", features = ["transport"], optional = true }
prost = { version = "0.13", optional = true }
tower = { version = "0.4", optional = true }
hyper = { version = "1.4", optional = true }
blake3 = { version = "1.5", optional = true }
xxhash-rust = { version = "0.8", features = ["xxh3"], optional = true }
prometheus = { version = "0.13", optional = true }
[dev-dependencies]
criterion = { workspace = true }
proptest = { workspace = true }
mockall = { workspace = true }
tempfile = "3.13"
tracing-subscriber = { workspace = true }
tokio-test = "0.4"
csv = "1.3"
[build-dependencies]
pest_generator = "2.7"
[features]
default = ["full"]
full = ["simd", "storage", "async-runtime", "compression", "hnsw_rs", "ruvector-core/hnsw"]
simd = ["ruvector-core/simd", "simsimd"]
storage = ["redb", "memmap2"]
async-runtime = ["tokio", "futures", "moka"]
compression = ["zstd", "lz4"]
wasm = []
distributed = ["ruvector-raft", "ruvector-cluster", "ruvector-replication", "blake3", "xxhash-rust", "full"]
federation = ["tonic", "prost", "tower", "hyper", "distributed"]
jit = []
metrics = ["prometheus"]
fulltext = []
geospatial = []
temporal = []
cypher-pest = ["pest", "pest_derive"]
cypher-lalrpop = ["lalrpop-util"]
[[example]]
name = "test_cypher_parser"
path = "examples/test_cypher_parser.rs"
[[bench]]
name = "new_capabilities_bench"
harness = false
[lib]
crate-type = ["rlib"]
bench = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]