#rvf #binary-format #wire-format #vector-database #database #wire-protocol

no-std rvf-wire

RuVector Format wire format reader/writer -- zero-copy segment serialization

1 unstable release

new 0.1.0 Feb 14, 2026

#1007 in Encoding


Used in 2 crates

MIT/Apache

370KB
7.5K SLoC

RVF wire format reader/writer.

This crate implements the binary encoding and decoding for the RuVector Format (RVF): segment headers, varint encoding, delta coding, hash computation, tail scanning, and per-segment-type codecs.


rvf-wire

Zero-copy wire format reader and writer for RuVector Format (RVF) segments.

Overview

rvf-wire handles serialization and deserialization of RVF binary segments:

  • Writer -- append segments with automatic CRC32c and XXH3 checksums
  • Reader -- stream-parse segments with validation and integrity checks
  • Zero-copy -- borrows directly from memory-mapped buffers where possible

Usage

[dependencies]
rvf-wire = "0.1"
use rvf_wire::{SegmentWriter, SegmentReader};

Features

  • std (default) -- enable std I/O support

License

MIT OR Apache-2.0

Dependencies