#libfuse #api-bindings #fuse3

rusfuse

Rust library for filesystems in userspace (FUSE ver3)

2 releases

0.0.9 Jan 16, 2021
0.0.4 Dec 30, 2020
0.0.3 Dec 27, 2020
0.0.2 Dec 27, 2020
0.0.1 Dec 27, 2020

#1284 in Filesystem

MIT license

63KB
2K SLoC

rusfuse

Rust library for filesystems in userspace (FUSE ver3)

Crates.io Crates.io

Dependencies

This rusfuse depend on libfuse with version 3. To build rusfuse or any source that depend on it, fuse library needed.

For Linux

Install on ubuntu

$ apt install fuse3 libfuse3-dev

Install on fedora

$ dnf install fuse3 fuse3-devel

Usage

Write this in your Cargo.toml:

[dependencies]
rusfuse = "0.0.9"

Or, if you installed cargo-edit, you run this command:

$ cargo add rusfuse

To create a new filesystem, you implement the trait rusfuse::FileSystem for struct of your filesystem. If you want more examples, you see a file in examples.

Dependencies

~3–12MB
~114K SLoC