crosvm/common/cros_asyncv2/Cargo.toml
Dennis Kempin 45b5c13047 Make common crates part of the crosvm workspace
This greatly simplifies and speeds up compilation
and clippy times.

This ChromeOS-side building these crates has been
updated to copy the source out of the source tree
so that they will compile as a separate workspace.

BUG=b:256020427
TEST=presubmit

Change-Id: I2e0f1f6724924d6bdd70ea28d7777df7966cf724
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3988324
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2022-10-31 21:33:33 +00:00

32 lines
908 B
TOML

[package]
name = "cros_asyncv2"
version = "0.2.0"
edition = "2021"
[features]
uring = ["io-uring"]
[dependencies]
anyhow = "1"
async-task = "4"
data_model = { path = "../data_model" } # provided by ebuild
futures = { version = "0.3", default-features = false, features = ["alloc"] }
intrusive-collections = "0.9"
io-uring = { version = "0.5", optional = true, features = ["unstable"] }
memoffset = "0.6"
once_cell = "1.7"
slab = "0.4"
smallvec = { version = "1.6.1", default-features = false, features = ["union"] }
sync = { path = "../sync" } # provided by ebuild
thiserror = "1"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
mio = { version = "0.7", features = ["os-ext"] }
base = { path = "../../base" } # provided by ebuild
[dev-dependencies]
futures = { version = "*", features = ["executor"] }
futures-executor = { version = "0.3", features = ["thread-pool"] }
futures-util = "0.3"
tempfile = "3"