crosvm/common/cros_asyncv2/Cargo.toml
Anton Romanov bed40ad547 crosvm: migrate to Rust 2021 edition
BUG=none
TEST=cq

Change-Id: I0059c970879b78bfd40b6ce58b10debcf154b50f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3508322
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Anton Romanov <romanton@google.com>
2022-03-09 01:16:03 +00:00

34 lines
924 B
TOML

[package]
name = "cros_async"
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"] }
sys_util = { path = "../sys_util" } # provided by ebuild
[dev-dependencies]
futures = { version = "*", features = ["executor"] }
futures-executor = { version = "0.3", features = ["thread-pool"] }
futures-util = "0.3"
tempfile = "3"
[workspace]