crosvm/crosvm_control/Cargo.toml
maciek swiech fac9000051 balloon: use protos for registered events
since the RegisteredEvent model is effectively an external API, switch
to using protobuf as a more formal/stable means of communicating
messages. also introduces exporting the registered_events.proto file as
part of crosvm_control build, alongside the currently existing header
file.

this patch also introduces feature-gating for registered_events and
protos so as not to bring in too many third party dependencies for a
base build.

BUG=b/278117550
TEST=run bzImage locally
TEST=sidecar program available at https://x20.corp.google.com/users/dr/drmasquatch/socket-pinger-proto

Change-Id: I5d91d87f7807effc125352caf5c75eee2593f70d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4521604
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: maciek swiech <drmasquatch@google.com>
2023-05-22 19:28:45 +00:00

23 lines
448 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" }
[build-dependencies]
anyhow = "*"
cbindgen = "0.24.3"
cc = "*"
tempfile = "*"