Thanks to visit codestin.com
Credit goes to lib.rs

#directory

nightly no-std efs

An OS and architecture independent implementation of some Unix filesystems in Rust

9 releases

Uses new Rust 2024

new 0.5.0 Jan 13, 2026
0.4.2 Dec 1, 2024
0.4.1 Nov 28, 2024
0.4.0 Aug 22, 2024
0.1.0 Sep 28, 2023

#1818 in Filesystem

GPL-3.0 license

535KB
9K SLoC

crates.io-badge license-badge

Extended fs

An OS and architecture independent implementation of some Unix filesystems in Rust.

[!WARNING] This crate is provided as is and do not offer any guaranty. It is still in early development so bugs are excepted to occur. If you find one, please report it at https://codeberg.org/RatCornu/efs/issues. In all cases, please do NOT use this library for important data, and make sure to backup your data before using it.

Features

  • no_std support (enabled by default).

  • General interface for UNIX filesystems.

  • read/write operations on regular files, directories and symbolic links.

  • Compatible with any device implementing Read + Write + Seek.

  • Fully documented.

Supported filesystems

If you want more supported filesystems, do not hesitate to open an issue on https://codeberg.org/RatCornu/efs/issues.

Usage

Add this to your Cargo.toml:

[dependencies]
efs = "0.5"

See examples on https://docs.rs/efs in src/lib.rs.

Features

  • ext2: enables the ext2 filesystem support

  • sfs: enable the sfs filesystem support

  • std: enables the features depending on the standard library

By default, no feature is set.

License

Licensed under the GNU General Public License v3.0 which can be found here.

Dependencies

~4.5–7MB
~129K SLoC