mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-28 00:25:18 +00:00
9661e8da5d
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>
29 lines
625 B
TOML
29 lines
625 B
TOML
[package]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables"]
|
|
|
|
[dependencies]
|
|
byteorder = "1.3.2"
|
|
kvm-bindings = "0.1.1"
|
|
kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "master" }
|
|
libc = "0.2.60"
|
|
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
arch_gen = { path = "../arch_gen" }
|
|
|
|
[dependencies.vm-memory]
|
|
git = "https://github.com/rust-vmm/vm-memory"
|
|
features = ["backend-mmap"]
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage"]
|
|
|
|
[dev-dependencies]
|
|
rand = "0.7.0"
|