vecdb 0.12.2

High-performance mutable persistent vectors built on rawdb
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "vecdb"
version = "0.12.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance mutable persistent vectors built on rawdb"
homepage = "https://bitcoinresearchkit.org"
readme = "README.md"
keywords = [
    "vec",
    "disk",
    "database",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/bitcoinresearchkit/mono"

[package.metadata.docs.rs]
all-features = true

[features]
derive = ["vecdb_derive"]
lz4 = ["dep:lz4_flex"]
pco = ["dep:pco"]
schemars = ["dep:schemars"]
serde = ["dep:serde"]
zerocopy = ["dep:zerocopy"]
zstd = ["dep:zstd"]

[lib]
name = "vecdb"
path = "src/lib.rs"

[[example]]
name = "bench"
path = "examples/bench.rs"
required-features = [
    "pco",
    "lz4",
    "zstd",
    "zerocopy",
]

[[example]]
name = "io_vs_mmap"
path = "examples/io_vs_mmap.rs"
required-features = ["pco"]

[[example]]
name = "iter_vs_mmap"
path = "examples/iter_vs_mmap.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 = "columnar"
path = "tests/columnar.rs"

[[test]]
name = "comprehensive"
path = "tests/comprehensive.rs"

[[test]]
name = "compressed_metadata"
path = "tests/compressed_metadata.rs"

[[test]]
name = "compressed_range_cursor"
path = "tests/compressed_range_cursor.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 = "cursor"
path = "tests/cursor.rs"

[[test]]
name = "cursor_chunk_size"
path = "tests/cursor_chunk_size.rs"

[[test]]
name = "grouped_pco"
path = "tests/grouped_pco.rs"

[[test]]
name = "initial_capacity"
path = "tests/initial_capacity.rs"

[[test]]
name = "integrity"
path = "tests/integrity.rs"

[[test]]
name = "iterators"
path = "tests/iterators.rs"

[[test]]
name = "mutable_update_many"
path = "tests/mutable_update_many.rs"

[[test]]
name = "non_copy"
path = "tests/non_copy.rs"

[[test]]
name = "overflow"
path = "tests/overflow.rs"

[[test]]
name = "pco_conversion"
path = "tests/pco_conversion.rs"

[[test]]
name = "raw_last_page"
path = "tests/raw_last_page.rs"

[[test]]
name = "raw_reader_cursor"
path = "tests/raw_reader_cursor.rs"

[[test]]
name = "raw_sorted_read"
path = "tests/raw_sorted_read.rs"

[[test]]
name = "readable_boxed_cache"
path = "tests/readable_boxed_cache.rs"

[[test]]
name = "retain_accessed_regions"
path = "tests/retain_accessed_regions.rs"

[[test]]
name = "rollback"
path = "tests/rollback.rs"

[[test]]
name = "rollback_truncation"
path = "tests/rollback_truncation.rs"

[[test]]
name = "scaling_bench"
path = "tests/scaling_bench.rs"

[[test]]
name = "write_visibility"
path = "tests/write_visibility.rs"

[dependencies.brk_exit]
version = "0.12.2"

[dependencies.itoa]
version = "1.0.18"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4.34"

[dependencies.lz4_flex]
version = "=0.13.1"
optional = true
default-features = false

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.pco]
version = "0.12.2"
optional = true
package = "brk_pco"

[dependencies.rawdb]
version = "0.12.2"

[dependencies.rayon]
version = "1.12.0"

[dependencies.ryu]
version = "1.0.23"

[dependencies.schemars]
version = "1.2.2"
features = ["indexmap2"]
optional = true

[dependencies.serde]
version = "1.0.229"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.vecdb_derive]
version = "0.12.2"
optional = true

[dependencies.zerocopy]
version = "0.8.56"
features = ["zerocopy-derive"]
optional = true

[dependencies.zstd]
version = "0.13.3"
optional = true

[dev-dependencies.sha2]
version = "0.11"

[dev-dependencies.tempfile]
version = "3.27.0"