Tool Open source

VennDB

VennDB is an append-only, in-memory database for Rust rows queried through bit or flag columns. It targets mostly static datasets loaded at startup and repeatedly searched with simple filters, including boolean properties and hashed filter-map values.

View repository Visit site Mentioned in 1 video ↓

Overview

A `#[derive(VennDB)]` macro generates the database, query-builder, result, and error types from a named-field struct. Generated APIs support insertion and extension, unique-key lookup, composed filters, optional values, set-valued fields, wildcard (`Any`) values, predicates, computed columns, runtime columns, random or first matching rows, and custom row validation. The crate forbids unsafe code, is dual-licensed under MIT and Apache 2.0, and is intended for specific read-heavy use cases rather than as a general replacement for a conventional database.

What VennDB is used for

1 use taken from transcripts — each links to the moment in the video.

  • An in-memory Rust database for data you load at startup and filter over and over: a derive macro generates a query API from struct fields, combining matching rows with bitmaps, and new rows can be appended as they come in.

Videos mentioning VennDB

1 in the library.