Pure Rust implementation of exFAT file system
Go to file
Putta Khunchalee b930023e06
Some checks failed
CI / Build (push) Has been cancelled
Removes ExFat struct
2024-09-29 00:14:45 +07:00
.github/workflows Upgrades actions/checkout 2024-09-22 19:41:24 +07:00
.vscode Extracts project from Obliteration 2023-02-22 01:05:31 +07:00
src Removes ExFat struct 2024-09-29 00:14:45 +07:00
tests Makes directory module private and re-export its items 2024-09-28 14:21:04 +07:00
.gitignore Extracts project from Obliteration 2023-02-22 01:05:31 +07:00
Cargo.toml Revises DiskPartition 2024-09-22 19:37:59 +07:00
COPYING Extracts project from Obliteration 2023-02-22 01:05:31 +07:00
README.md Removes ExFat struct 2024-09-29 00:14:45 +07:00

exFAT in pure Rust

Crates.io

This is an implementation of exFAT in pure Rust. Currently it is supports only reading, not writing; and not all features are implemented but if all you need is listing the directories and read the files then you are good to go.

This implementation require a global allocator.

Usage

use exfat::image::Image;
use std::fs::File;

let image = File::open("exfat.img").expect("cannot open exfat.img");
let image = Image::open(image).expect("cannot open exFAT image from exfat.img");
let root = Root::open(image).expect("cannot open the root directory");

for item in root {
    // item will be either file or directory.
}

Breaking changes

0.1 to 0.2

My Rust skill has improved a lot since version 0.1 so I take this semver breaking change to make a lot of things better. That mean version 0.2 is not compatible with 0.1 in any ways.

License

MIT