Cargo Features

[dependencies]
fuse-backend-rs = { version = "0.12.0", default-features = false, features = ["async-io", "fusedev", "virtiofs", "vhost-user-fs", "persist", "fuse-t"] }
default = fusedev

The fusedev feature is set by default whenever fuse-backend-rs is added without default-features = false somewhere in the dependency tree.

async-io = async-trait, io-uring, tokio-uring

Enables fs, macros, net, rt and sync of tokio

Affects vfs::BackendFileSystem, common::async_file, common::async_runtime, common::mpmc

fusedev default = caps, core-foundation-sys, vmm-sys-util

Affects fuse-backend-rs::overlayfs, fuse-backend-rs::passthrough

virtiofs vhost-user-fs? = caps, virtio-queue, vmm-sys-util

Affects abi::virtio_fs, sync_io::FileSystem.setupmapping, sync_io::FileSystem.removemapping, fuse-backend-rs::overlayfs, fuse-backend-rs::passthrough

vhost-user-fs = caps, vhost, virtiofs
persist = dbs-snapshot, versionize, versionize_derive

Affects pseudo_fs::persist, vfs::persist

fuse-t

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

async-trait async-io?
dbs-snapshot persist?
io-uring async-io?

Enables io-uring ^0.5.8

tokio async-io?
tokio-uring async-io?

Enables tokio-uring ^0.4.0

vmm-sys-util fusedev virtiofs?

Enables vmm-sys-util ^0.11

virtio-queue virtiofs?

Enables virtio-queue ^0.7

vhost vhost-user-fs?

Enables vhost ^0.6

versionize_derive persist?
versionize persist?

Enables versionize ^0.1.10

core-foundation-sys mac fusedev
caps linux fusedev vhost-user-fs? virtiofs?