Crates.io | simple-fatfs |
lib.rs | simple-fatfs |
version | 0.1.0-alpha.1 |
source | src |
created_at | 2024-08-04 12:18:36.020678 |
updated_at | 2024-08-04 12:18:36.020678 |
description | A simple-to-use FAT filesystem library for Rust (mainly targeted at embedded systems) |
homepage | |
repository | https://github.com/Oakchris1955/simple-fatfs |
max_upload_size | |
id | 1324932 |
size | 136,239 |
A simple-to-use filesystem driver for the File Allocation Table (FAT)
Apart from rafalh's rust-fatfs library, there aren't actually any other FAT filesystem drivers in crates.io. All the other libraries either support only FAT16/32, aren't being actively developed or are just bindings to some C library.
Another thing I found somewhat frustrating about rafalh's rust-fatfs (which ultimately led to my decision of creating this project) is the fact that his library isn't suitable for embedded Rust, since it requires implementing some weird kind of buffered Read/Write, while it is also worth mentioning that the crates.io version of his library is somewhat outdated (there have been 144 additional commits as of the time I'm writing this).
A fully-working FAT driver that covers the following criteria:
#[no_std]
supportimpl
s for already-existing std
APIs (like the Read
, Write
& Seek
traits)std
)core::error::Error
trait instead of our custom error::Error
This project adheres to Keep a Changelog and Conventional Commits (since commit 21c7d6b
, that is excluding the first two commits which don't actually contain any code). It also uses git-cliff to parse commit messages into a CHANGELOG