Crates.io | filego |
lib.rs | filego |
version | |
source | src |
created_at | 2024-05-22 09:06:59.273015+00 |
updated_at | 2024-12-16 05:45:23.686877+00 |
description | A file splitting & merging solution |
homepage | https://github.com/alpheustangs/filego.rs |
repository | https://github.com/alpheustangs/filego.rs |
max_upload_size | |
id | 1247722 |
Cargo.toml error: | TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A file splitting & merging solution.
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 licensed under the terms of the MIT license.