2 unstable releases
Uses new Rust 2024
| 0.2.0 | Sep 6, 2025 |
|---|---|
| 0.1.0 | Jun 9, 2025 |
#160 in Multimedia
128 downloads per month
61KB
1.5K
SLoC
FileRune Fusion
A file splitting & merging solution.
Quick Start
Split file from a path to a directory with Split struct.
use std::path::PathBuf;
use filerune_fusion::split::{Split, SplitResult};
let result: SplitResult = Split::new()
.in_file(PathBuf::from("path").join("to").join("file"))
.out_dir(PathBuf::from("path").join("to").join("dir"))
.run()
.unwrap();
Async version also available with the async_std and tokio features:
// This is a `async_std` example
use async_std::path::PathBuf;
use filerune_fusion::split::{
Split,
SplitResult,
async_std::SplitAsyncExt as _,
};
let result: SplitResult = Split::new()
.in_file(PathBuf::from("path").join("to").join("file"))
.out_dir(PathBuf::from("path").join("to").join("dir"))
.run_async()
.await
.unwrap();
// This is a `tokio` example
use std::path::PathBuf;
use filerune_fusion::split::{
Split,
SplitResult,
tokio::SplitAsyncExt as _,
};
let result: SplitResult = Split::new()
.in_file(PathBuf::from("path").join("to").join("file"))
.out_dir(PathBuf::from("path").join("to").join("dir"))
.run_async()
.await
.unwrap();
FileRune Fusion
A file splitting & merging solution.
License
This project is licensed under the terms of the MIT license.
Dependencies
~0–5MB
~107K SLoC