Simple Rust library to sync files between different sources.
Currently supports:
s3
feature)```rust use filesync::{ local::LocalFiles, s3::S3Files, };
let config = awsconfig::loadfromenv().await; let client = awssdk_s3::Client::new(&config);
let mut local = LocalFiles::new("./mylocalfiles", true); let mut s3 = S3Files::new(client, "mys3bucket", "path/in/bucket", true);
let syncedpaths = filesync::synconeway(&mut local, &mut s3).await?; asserteq!(syncedpaths, vec![PathBuf::from("mychanged_file.txt")]); ```