hashtree-lmdb

Crates.iohashtree-lmdb
lib.rshashtree-lmdb
version0.2.3
created_at2025-12-17 15:38:33.850198+00
updated_at2026-01-19 13:11:31.587441+00
descriptionLMDB-backed content-addressed blob storage for hashtree
homepage
repositoryhttps://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree
max_upload_size
id1990553
size41,435
Martti Malmi (mmalmi)

documentation

README

hashtree-lmdb

LMDB-backed content-addressed blob storage for hashtree.

High-performance storage backend using LMDB (Lightning Memory-Mapped Database) for fast key-value storage.

Usage

use hashtree_lmdb::LmdbStore;
use hashtree_core::Store;

let store = LmdbStore::new("/path/to/data")?;

// Store a blob
store.put(&hash, &data)?;

// Retrieve a blob
let data = store.get(&hash)?;

Features

  • Memory-mapped I/O for fast reads
  • ACID transactions
  • Crash-resistant

Part of hashtree-rs.

Commit count: 0

cargo fmt