mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
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>
44 lines
1.1 KiB
TOML
44 lines
1.1 KiB
TOML
[package]
|
|
name = "cros_async"
|
|
version = "0.1.1"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.36"
|
|
async-task = "4"
|
|
cfg-if = "1.0.0"
|
|
data_model = { path = "../common/data_model" } # provided by ebuild
|
|
intrusive-collections = "0.9"
|
|
libc = "*"
|
|
once_cell = "1.7.2"
|
|
paste = "1.0"
|
|
pin-utils = "0.1.0-alpha.4"
|
|
remain = "0.2"
|
|
slab = "0.4"
|
|
sync = { path = "../common/sync" } # provided by ebuild
|
|
base = { path = "../base" } # provided by ebuild
|
|
thiserror = "1.0.20"
|
|
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
|
anyhow = "1.0"
|
|
serde = "*"
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
io_uring = { path = "../io_uring" } # provided by ebuild
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "*"
|
|
win_util = { path = "../win_util" }
|
|
smallvec = "*"
|
|
|
|
[dependencies.futures]
|
|
version = "*"
|
|
default-features = false
|
|
features = ["alloc"]
|
|
|
|
[dev-dependencies]
|
|
futures = { version = "*", features = ["executor"] }
|
|
futures-executor = { version = "0.3", features = ["thread-pool"] }
|
|
futures-util = "0.3"
|
|
tempfile = "3"
|