hashtree-s3

Crates.iohashtree-s3
lib.rshashtree-s3
version0.2.3
created_at2025-12-17 17:20:04.495658+00
updated_at2026-01-19 13:13:20.440356+00
descriptionS3 storage backend for hashtree with non-blocking uploads
homepage
repositoryhttps://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree
max_upload_size
id1990779
size84,050
Martti Malmi (mmalmi)

documentation

README

hashtree-s3

S3 storage backend for hashtree with non-blocking uploads.

Store hashtree blobs in Amazon S3 or compatible object storage (MinIO, R2, etc.).

Usage

use hashtree_s3::S3Store;
use hashtree_core::Store;

let store = S3Store::new(
    "my-bucket",
    "us-east-1",
    Some("https://s3.example.com"),  // Optional custom endpoint
).await?;

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

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

Features

  • Non-blocking async uploads
  • Compatible with S3-compatible services (MinIO, Cloudflare R2, etc.)
  • Optional feature in hashtree-cli: cargo install hashtree-cli --features s3

Part of hashtree-rs.

Commit count: 0

cargo fmt