Cargo Features

[dependencies]
vm-memory = { version = "0.18.0", default-features = false, features = ["backend-bitmap", "backend-mmap", "backend-atomic", "iommu", "rawfd", "xen"] }
default = rawfd

The rawfd feature is set by default whenever vm-memory is added without default-features = false somewhere in the dependency tree.

backend-bitmap

Enables libc and winapi

backend-mmap xen?

Enables libc and winapi

Affects vm-memory::mmap

backend-atomic = arc-swap

Affects vm-memory::atomic

iommu

Enables rangemap

Affects vm-memory::iommu

rawfd default

Enables libc

xen = backend-mmap, bitflags, vmm-sys-util

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.

arc-swap backend-atomic?
bitflags xen?
vmm-sys-util xen?