s3etag 0.1.1

Calculate S3 ETag for multipart uploads
Documentation
  • Coverage
  • 23.08%
    3 out of 13 items documented1 out of 13 items with examples
  • Size
  • Source code size: 17.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 160.2 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • imishinist/s3etag
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • imishinist

s3etag

Calculate S3 ETag for multipart uploads.

Installation

cargo install --path . --features cli

Usage

Library

use s3etag;

let digest = s3etag::compute(b"hello");
println!("{:x}", digest); // 62109206880d38a4010a98e11243924a-1

CLI

# Calculate ETag with default 8MB chunk size
s3etag file.txt

# Calculate ETag with custom chunk size (in MB)
s3etag -c 16 file.txt

# Verify against expected ETag
s3etag -e "expected-etag-here" file.txt

License

MIT