https://github.com/odd12258053/rusfuse
Rust library for filesystems in userspace (FUSE ver3)
https://github.com/odd12258053/rusfuse
filesystem fuse libfuse rust
Last synced: 8 months ago
JSON representation
Rust library for filesystems in userspace (FUSE ver3)
- Host: GitHub
- URL: https://github.com/odd12258053/rusfuse
- Owner: odd12258053
- License: mit
- Created: 2020-12-23T16:43:38.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-16T12:46:53.000Z (over 5 years ago)
- Last Synced: 2025-09-19T06:35:06.358Z (9 months ago)
- Topics: filesystem, fuse, libfuse, rust
- Language: Rust
- Homepage: https://crates.io/crates/rusfuse
- Size: 46.9 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rusfuse
Rust library for filesystems in userspace (FUSE ver3)

[](https://crates.io/crates/rusfuse)
# Dependencies
This `rusfuse` depend on [libfuse](https://github.com/libfuse/libfuse) with version 3.
To build `rusfuse` or any source that depend on it, `fuse` library needed.
## For Linux
### Install on ubuntu
```sh
$ apt install fuse3 libfuse3-dev
```
### Install on fedora
```sh
$ dnf install fuse3 fuse3-devel
```
# Usage
Write this in your `Cargo.toml`:
```toml
[dependencies]
rusfuse = "0.0.9"
```
Or, if you installed [cargo-edit](https://github.com/killercup/cargo-edit), you run this command:
```sh
$ 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](./examples).