cros_async: Use argh_derive feature in serde_keyvalue

This is a followup of crrev.com/c/3931568.

Since `derive(serde_keyvalue::FromKeyValues)` used for `ExecutorKind` is
guarded by the serde_keyvalue's `argh_derive` feature, we need to
specify the feature in cros_async's Cargo.toml.

The original CL didn't break the crosvm build because our builder always
enable the `argh_derive` feature.

BUG=b:239154263
TEST=cargo test in /cros_async

Change-Id: I10c77373241271e3002fe574c69e0118059a7f1a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3945519
Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Keiichi Watanabe 2022-10-11 19:25:28 +09:00 committed by crosvm LUCI
parent 4f2c414435
commit 98ff121e5b

View file

@ -22,7 +22,7 @@ thiserror = "1.0.20"
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
anyhow = "1.0"
serde = "*"
serde_keyvalue = { path = "../serde_keyvalue" }
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
[target.'cfg(unix)'.dependencies]
io_uring = { path = "../io_uring" } # provided by ebuild
@ -42,5 +42,3 @@ futures = { version = "*", features = ["executor"] }
futures-executor = { version = "0.3", features = ["thread-pool"] }
futures-util = "0.3"
tempfile = "3"