crosvm/metrics/Cargo.toml
Pujun Lun dd2c0a932a crosvm: move enum ProcessType to win_util.
This is to keep consistency with Windows downstream code.
The conversion from ProcessType to EmulatorProcessType is moved to
the metrics crate as it is only used for generating metrics.

BUG=b:213146388
TEST=presubmit

Change-Id: Ia62f76835a1f162dd8bbc9e53fd671968c368473
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3908370
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Pujun Lun <lunpujun@google.com>
2022-09-21 19:28:49 +00:00

28 lines
673 B
TOML

[package]
name = "metrics"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2021"
[features]
kiwi = ["libc", "serde_json", "sync"]
[dependencies]
anyhow = "*"
base = { path = "../base" }
cfg-if = "*"
libc = { version = "*", optional = true }
protobuf = { version = "2.24", features = [ "with-serde" ] }
serde = { version = "1", features = [ "derive" ] }
serde_json = { version = "*", optional = true }
sync = { path = "../common/sync", optional = true }
[target.'cfg(windows)'.dependencies]
chrono = { version = "*" }
winapi = { version = "*" }
win_util = { path = "../win_util" }
wmi = { version = "^0.9" }
[build-dependencies]
protoc-rust = "2.24"