A file splitting & merging solution.
To install this package, run the following command:
cargo add filego
Split file from a path to a directory with Split
struct.
use std::path::PathBuf;
use filego::split::{Split, SplitResult};
async fn example() {
let result: SplitResult = Split::new()
.in_file("/path/to/file")
.out_dir(PathBuf::from("path").join("to").join("dir"))
.run()
.await
.unwrap();
}
This project is MIT licensed, you can find the license file here.