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>
This commit is contained in:
Daniel Verkamp 2024-07-02 14:55:02 -07:00 committed by crosvm LUCI
parent 1260ab0c62
commit 5b5867a2ac

View file

@ -4,6 +4,10 @@ version = "0.1.0"
authors = ["The ChromiumOS Authors"] authors = ["The ChromiumOS Authors"]
edition = "2021" edition = "2021"
[features]
collect = []
experimental = []
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
base = { path = "../base" } base = { path = "../base" }