cloud-hypervisor/Cargo.toml
Rob Bradford 9661e8da5d build: Really make the acpi feature disableable
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>
2019-09-05 08:58:47 -07:00

28 lines
497 B
TOML

[package]
name = "cloud-hypervisor"
version = "0.1.0"
authors = ["The Cloud Hypervisor Authors"]
edition = "2018"
[dependencies]
clap = "2.33.0"
lazy_static = "1.4.0"
log = { version = "0.4.8", features = ["std"] }
vmm = { path = "vmm" }
[dev-dependencies]
ssh2 = "0.3.3"
dirs = "2.0.2"
credibility = "0.1.3"
tempdir= "0.3.7"
lazy_static= "1.4.0"
[features]
default = ["acpi"]
acpi = ["vmm/acpi"]
# Integration tests require a special environment to run in
integration_tests = []
[workspace]