Files
foxhunt/crates/storage

storage

S3-compatible object storage client for models, datasets, and training artifacts.

Key Types

  • S3Client — upload, download, and manage S3 objects
  • S3Config — bucket, region, and credential configuration
  • Local caching layer for frequently accessed models
  • Checksum verification (MD5, SHA256) on upload/download

Features

  • Model versioning and artifact management
  • Compression/decompression (gzip, zstd)
  • High-level file management API (list, delete, prefix operations)

Usage

use storage::{S3Client, S3Config};
let client = S3Client::new(config)?;
client.upload_file(&path, "models/v1/model.bin", true)?;