[package]
edition = "2024"
name = "vecdb"
version = "0.6.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance mutable persistent vectors built on rawdb"
homepage = "https://github.com/anydb-rs/anydb"
readme = "README.md"
keywords = [
"vec",
"disk",
"database",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/anydb-rs/anydb"
[package.metadata.docs.rs]
all-features = true
[features]
derive = ["vecdb_derive"]
lz4 = ["dep:lz4_flex"]
pco = ["dep:pco"]
schemars = ["dep:schemars"]
serde = ["dep:serde"]
serde_json = [
"serde",
"dep:serde_json",
]
sonic-rs = [
"serde",
"dep:sonic-rs",
]
zerocopy = ["dep:zerocopy"]
zstd = ["dep:zstd"]
[lib]
name = "vecdb"
path = "src/lib.rs"
[[example]]
name = "pco_bench"
path = "examples/pco_bench.rs"
required-features = ["pco"]
[[example]]
name = "pcodec"
path = "examples/pcodec.rs"
required-features = ["pco"]
[[example]]
name = "zerocopy"
path = "examples/zerocopy.rs"
required-features = ["zerocopy"]
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "basic2"
path = "tests/basic2.rs"
[[test]]
name = "comprehensive"
path = "tests/comprehensive.rs"
[[test]]
name = "compute_functions"
path = "tests/compute_functions.rs"
[[test]]
name = "concurrent_rw"
path = "tests/concurrent_rw.rs"
[[test]]
name = "consistency"
path = "tests/consistency.rs"
[[test]]
name = "integrity"
path = "tests/integrity.rs"
[[test]]
name = "iterators"
path = "tests/iterators.rs"
[[test]]
name = "rollback"
path = "tests/rollback.rs"
[[test]]
name = "scaling_bench"
path = "tests/scaling_bench.rs"
[[test]]
name = "write_visibility"
path = "tests/write_visibility.rs"
[dependencies.ctrlc]
version = "3.5.1"
features = ["termination"]
[dependencies.log]
version = "0.4.29"
[dependencies.lz4_flex]
version = "0.12.0"
optional = true
default-features = false
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.pco]
version = "1.0.0"
optional = true
[dependencies.rawdb]
version = "0.6.7"
[dependencies.schemars]
version = "1.2.1"
optional = true
[dependencies.serde]
version = "1.0.228"
optional = true
[dependencies.serde_json]
version = "1.0.149"
features = ["float_roundtrip"]
optional = true
[dependencies.sonic-rs]
version = "0.5.6"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.vecdb_derive]
version = "0.6.7"
optional = true
[dependencies.zerocopy]
version = "0.8.37"
features = ["zerocopy-derive"]
optional = true
[dependencies.zstd]
version = "0.13.3"
optional = true
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tempfile]
version = "3.24.0"
[dev-dependencies.walkdir]
version = "2.5"