[package]
name = "ruvector-postgres"
version = "0.2.3"
edition = "2021"
license = "MIT"
description = "High-performance PostgreSQL vector database extension - pgvector drop-in replacement with 53+ SQL functions, SIMD acceleration, hyperbolic embeddings, GNN layers, and self-learning capabilities"
repository = "https://github.com/ruvnet/ruvector"
homepage = "https://github.com/ruvnet/ruvector"
documentation = "https://docs.rs/ruvector-postgres"
authors = ["ruv.io Team <info@ruv.io>"]
keywords = ["postgresql", "vector-database", "embeddings", "pgvector", "hnsw"]
categories = ["database", "science", "algorithms"]
readme = "README.md"
exclude = ["docker/", "tests/", "benches/", "examples/"]
[lib]
crate-type = ["cdylib", "lib"]
[features]
default = ["pg16"]
pg14 = ["pgrx/pg14", "pgrx-tests/pg14"]
pg15 = ["pgrx/pg15", "pgrx-tests/pg15"]
pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
pg17 = ["pgrx/pg17", "pgrx-tests/pg17"]
pg_test = []
simd-native = []
simd-avx2 = []
simd-avx512 = []
simd-neon = []
simd-auto = []
index-hnsw = []
index-ivfflat = []
index-all = ["index-hnsw", "index-ivfflat"]
quantization-scalar = []
quantization-product = []
quantization-binary = []
quantization-all = ["quantization-scalar", "quantization-product", "quantization-binary"]
quant-all = ["quantization-all"]
neon-compat = []
learning = []
attention = []
gnn = []
hyperbolic = []
sparse = []
graph = []
routing = []
ai-complete = ["learning", "attention", "gnn", "routing"]
graph-complete = ["hyperbolic", "sparse", "graph"]
all-features = ["ai-complete", "graph-complete"]
[dependencies]
pgrx = "0.12"
home = "=0.5.9"
simsimd = "5.9"
half = { version = "2.4", features = ["std", "serde"] }
parking_lot = "0.12"
dashmap = "6.0"
crossbeam = "0.8"
rayon = "1.10"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
rkyv = "0.8"
memmap2 = "0.9"
rand = "0.8"
rand_chacha = "0.3"
bitvec = "1.0"
ordered-float = "4.2"
priority-queue = "2.0"
thiserror = "1.0"
tracing = "0.1"
lazy_static = "1.4"
once_cell = "1.19"
[dev-dependencies]
pgrx-tests = "0.12"
criterion = "0.5"
proptest = "1.4"
approx = "0.5"
rand = "0.8"
tempfile = "3.10"
[[bench]]
name = "distance_bench"
harness = false
[[bench]]
name = "quantized_distance_bench"
harness = false
[[bench]]
name = "index_bench"
harness = false
[[bench]]
name = "quantization_bench"
harness = false
[[bin]]
name = "pgrx_embed_ruvector-postgres"
path = "./src/bin/pgrx_embed.rs"
[package.metadata.pgrx]
pg14 = "pg14"
pg15 = "pg15"
pg16 = "pg16"
pg17 = "pg17"