crosvm/crosvm_control/Cargo.toml
Daniel Verkamp bd1f66df63 crosvm_control: require vm_control balloon feature
crosvm_control unconditionally imports vm_control::BalloonControlCommand
which is only available when vm_control has the "balloon" feature
enabled. Declare this dependency in crosvm_control/Cargo.toml.

Fixes building crosvm_control with --no-default-features.

BUG=None
TEST=cargo build -p crosvm_control --no-default-features

Change-Id: I0f7a956318bd144fcbe9e09ee8319e992df87d5e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4736333
Reviewed-by: maciek swiech <drmasquatch@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-08-01 20:22:56 +00:00

23 lines
474 B
TOML

[package]
name = "crosvm_control"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
registered_events = ["vm_control/registered_events"]
[lib]
crate-type = ["cdylib", "staticlib"]
[dependencies]
base = { path = "../base" }
libc = "0.2.65"
swap = { path = "../swap", default-features = false }
vm_control = { path = "../vm_control", features = [ "balloon" ] }
[build-dependencies]
anyhow = "*"
cbindgen = "0.24.3"
cc = "*"
tempfile = "*"