crosvm/metrics/Cargo.toml
Daniel Verkamp 5b5867a2ac metrics: add missing features in Cargo.toml
There are cfg(feature = "...") checks testing "experimental" and
"collect" features, but those aren't declared in Cargo.toml; cargo warns
of this in newer versions, so declare them, even though they're never
enabled in upstream crosvm.

BUG=None
TEST=cargo +nightly build

Change-Id: I9893ec56f6f3362cc73b5e128c836b2a0f0e8e9e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5672327
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2024-07-03 00:33:08 +00:00

22 lines
575 B
TOML

[package]
name = "metrics"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
collect = []
experimental = []
[dependencies]
anyhow = "1"
base = { path = "../base" }
cfg-if = "1"
serde = { version = "1", features = ["derive"] }
sync = { path = "../common/sync" }
metrics_events = { path = "../metrics_events" }
metrics_product = { path = "../vendor/generic/metrics", package = "metrics_generic" }
[target.'cfg(windows)'.dependencies]
chrono = { version = "0.4.34", default-features = false, features = ["now"] }
winapi = { version = "0.3" }