[package]
name = "sqlitegraph"
version = "0.2.7"
edition = "2024"
description = "Deterministic, embedded graph database with SQLite and Native V2 backends"
license = "GPL-3.0-or-later"
repository = "https://github.com/oldnordic/sqlitegraph"
documentation = "https://docs.rs/sqlitegraph"
readme = "README.md"
keywords = ["graph", "database", "sqlite", "embedded"]
categories = ["database", "data-structures"]
[lib]
name = "sqlitegraph"
path = "src/lib.rs"
[dependencies]
rusqlite = { version = "0.31", features = ["bundled"] }
thiserror = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
bincode = "1.3"
ahash = "0.8"
parking_lot = "0.12"
rand = "0.8"
arc-swap = "1"
bytemuck = { version = "1.13", features = ["derive"] }
binrw = "0.13"
memmap2 = "0.9"
log = "0.4"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
assert_cmd = "2"
tempfile = "3"
rand = "0.8"
[features]
default = ["sqlite-backend"]
sqlite-backend = []
native-v2 = ["v2_io_exclusive_std"]
trace_v2_io = []
bench-ci = []
v2_experimental = ["native-v2"]
v2_io_exclusive_mmap = []
v2_io_exclusive_std = []
[[bench]]
name = "bfs"
harness = false
[[bench]]
name = "k_hop"
harness = false
[[bench]]
name = "insert"
harness = false
[[bench]]
name = "hnsw"
harness = false