Cargo Features

vm-memory has no features set by default.

[dependencies]
vm-memory = { version = "0.14.0", features = ["backend-bitmap", "backend-mmap", "backend-atomic", "xen"] }
backend-bitmap
backend-mmap xen?

Affects vm-memory::mmap

backend-atomic = arc-swap

Affects vm-memory::atomic

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.

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