mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 23:41:15 +00:00
The command "cargo build --no-default-features" does not recursively disable the default features across the workspace. Instead add an acpi feature at the top-level, making it default, and then make that feature conditional on all the crate acpi features. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
36 lines
963 B
TOML
36 lines
963 B
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables","devices/acpi", "arch/acpi"]
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
arch = { path = "../arch" }
|
|
devices = { path = "../devices" }
|
|
epoll = "4.1.0"
|
|
kvm-bindings = "0.1.1"
|
|
kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "master" }
|
|
libc = "0.2.62"
|
|
log = "0.4.8"
|
|
net_util = { path = "../net_util" }
|
|
pci = {path = "../pci"}
|
|
qcow = { path = "../qcow" }
|
|
vfio = { path = "../vfio" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vmm-sys-util = { git = "https://github.com/rust-vmm/vmm-sys-util" }
|
|
signal-hook = "0.1.10"
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage"]
|
|
|
|
[dependencies.vm-memory]
|
|
git = "https://github.com/rust-vmm/vm-memory"
|
|
features = ["backend-mmap"]
|