From 5b5867a2ac1c8e7e17cfa919d695e52895d9dd33 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 2 Jul 2024 14:55:02 -0700 Subject: [PATCH] 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 Commit-Queue: Daniel Verkamp --- metrics/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/metrics/Cargo.toml b/metrics/Cargo.toml index 235c7db799..139bacea13 100644 --- a/metrics/Cargo.toml +++ b/metrics/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" authors = ["The ChromiumOS Authors"] edition = "2021" +[features] +collect = [] +experimental = [] + [dependencies] anyhow = "1" base = { path = "../base" }