3 releases

new 1.0.0-alpha.2 May 3, 2025
1.0.0-alpha.0 May 2, 2025

#13 in #objects

34 downloads per month

MIT license

3KB

s3same: Compare AWS S3 objects in Rust

Installation

cargo add s3same

Examples

Check if a local file is of an expected size

s3uri::from_uri parses a string URI and returns a s3uri::S3Uri struct with the bucket name and key set.

use s3same::LocalPath;

let result = std::path::Path::new("LICENSE")
    .is_size(1073)
    .unwrap();

assert!(result);

Author

Hello! 👋 I'm Cariad Eccleston. You can find me at cariad.earth, github.com/cariad, linkedin.com/in/cariad and @cariad.earth on Bluesky.

No runtime deps