Cargo Features

[dependencies]
blkio = { version = "0.5.1", default-features = false, features = ["io_uring", "nvme-io_uring", "virtio-blk-vfio-pci", "virtio-blk-vhost-user", "virtio-blk-vhost-vdpa"] }
default = io_uring, nvme-io_uring, virtio-blk-vfio-pci, virtio-blk-vhost-user, virtio-blk-vhost-vdpa

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

io_uring default = io-uring

Affects drivers::iouring

nvme-io_uring default = io-uring

Affects drivers::nvme_io_uring

virtio-blk-vfio-pci default

Enables vfio of pci-driver, pci of virtio-driver

Affects virtio_blk::VFIO_PCI_DRIVER, drivers::virtio_blk

virtio-blk-vhost-user default

Enables vhost-user of virtio-driver

Affects virtio_blk::VHOST_USER_DRIVER, drivers::virtio_blk

virtio-blk-vhost-vdpa default

Enables vhost-vdpa of virtio-driver

Affects virtio_blk::VHOST_VDPA_DRIVER, drivers::virtio_blk

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.

io-uring io_uring nvme-io_uring

Enables io-uring ^0.6

pci-driver virtio-blk-vfio-pci
virtio-driver virtio-blk-vfio-pci virtio-blk-vhost-user virtio-blk-vhost-vdpa