Cargo Features

nydus-service has no features set by default.

[dependencies]
nydus-service = { version = "0.3.0", features = ["virtiofs", "block-device", "block-nbd", "coco"] }
default

These default features are set whenever nydus-service is added without default-features = false somewhere in the dependency tree.

Enables fusedev of fuse-backend-rs ^0.10.3

virtiofs = vhost, vhost-user-backend, virtio-bindings, virtio-queue, vm-memory

Enables vhost-user-fs of fuse-backend-rs ^0.10.3

block-device block-nbd? = dbs-allocator

Enables fs of tokio

Affects nydus-service::block_device

block-nbd = block-device, bytes

Affects nydus-service::block_nbd

coco

Enables fusedev of fuse-backend-rs ^0.10.3, backend-registry of nydus-storage

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.

bytes block-nbd?
dbs-allocator block-device?
vhost virtiofs?

Enables vhost ^0.5.0

vhost-user-backend virtiofs?

Enables vhost-user-backend ^0.7.0

virtio-bindings virtiofs?

Enables virtio-bindings ^0.1

virtio-queue virtiofs?

Enables virtio-queue ^0.6.0

vm-memory virtiofs?

Enables vm-memory ^0.9.0