crosvm/common/cros_asyncv2/Cargo.toml
Chirantan Ekbote 1c4bb91c03 cros_asyncv2: Add async UnixSeqPacket
BUG=b:195468578
TEST=unit tests

Change-Id: Id9242a4b94d9e1ea72fc09449acbeefc1e2cb9df
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3312767
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
2021-12-22 04:36:37 +00:00

34 lines
899 B
TOML

[package]
name = "cros_async"
version = "0.2.0"
edition = "2018"
[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 }
memoffset = "0.5"
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]