| Crates.io | gfarch |
| lib.rs | gfarch |
| version | 0.3.0 |
| created_at | 2024-11-24 03:58:51.233405+00 |
| updated_at | 2025-05-11 05:18:54.883535+00 |
| description | gfarch is a Rust crate for Good-Feel's GoodFeelArchives. |
| homepage | |
| repository | https://github.com/Swiftshine/gfarch-rs |
| max_upload_size | |
| id | 1458951 |
| size | 23,334 |
Rust crate for handling Good-Feel's GfArch files.
// "archive_1" is now a GoodFeelArchive
let archive_1 = gfarch::pack_from_files(
&files,
Version::V3,
CompressionType::BPE,
GFCPOffset::Default
);
// "archive_2" is now also a GoodFeelArchive
let archive_2 = gfarch::pack_from_bytes(
&byte_vectors,
&filenames,
Version::V3,
CompressionType::BPE,
GFCPOffset::Default
);
let archive = fs::read("my_file.gfa")?;
// "files" is now a collection of file data and filenames
let files = gfarch::extract(&archive)?;