rust-s3-patterns

Implement Rust S3 streaming downloads, multipart uploads, and batch operations.

1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/gar-ai/mallorn --skill rust-s3-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-s3-patterns
Source: https://github.com/gar-ai/mallorn/tree/main/.claude/skills/rust-integration-s3-patterns
Command: npx skills add https://github.com/gar-ai/mallorn --skill rust-s3-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Rust-based pattern provides robust S3 integration utilities, including streaming downloads, multipart uploads, and batch operations for cloud storage services.

Core Features & Use Cases

  • Streaming downloads to handle large files without loading into memory.
  • Multipart uploads and batch operations for efficient, scalable storage workflows.
  • Presigned URL generation for secure, time-limited access and easy sharing.
  • MinIO and S3-compatible endpoints with path-style access and credential loading from the environment.
  • Lightweight Rust client abstraction that supports common storage tasks (upload, download, delete, and metadata).

Quick Start

Instantiate StorageClient with your bucket, region, and optional endpoint, then perform a sample upload to verify the integration.

Frequently Asked Questions about rust-s3-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle large S3 file downloads in Rust without loading them into memory?

Streaming downloads in Rust handle large S3 files without loading them into memory by processing data chunks sequentially. This pattern supports backend services requiring efficient, scalable cloud storage interactions.

How do I generate presigned URLs for secure, time-limited S3 access in Rust?

Presigned URL generation in Rust provides secure, time-limited access to S3 objects for easy sharing. This pattern allows backend services to grant temporary permissions without exposing long-term credentials.

Can I use Rust with MinIO and other S3-compatible storage services?

Rust S3 patterns support MinIO and S3-compatible endpoints using path-style access and environment-based credentials. Custom endpoints can be configured when instantiating the storage client for these services.

What's the best way to perform multipart uploads to S3 using Rust?

Multipart uploads in Rust enable efficient, scalable S3 storage workflows by splitting large files into manageable parts. Batch operations further optimize upload performance for backend services.

Do I need tokio and specific credentials to use Rust S3 patterns?

Rust S3 patterns require rust-s3 with tokio-native-tls and environment-based credentials. The client abstraction supports common storage tasks including upload, download, delete, and metadata operations.