2022-03-17 18:26:01 +00:00
|
|
|
[package]
|
|
|
|
name = "cros_async"
|
2022-04-01 09:20:43 +00:00
|
|
|
version = "0.1.1"
|
2022-03-17 18:26:01 +00:00
|
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1.36"
|
|
|
|
async-task = "4"
|
2022-04-13 04:36:24 +00:00
|
|
|
cfg-if = "1.0.0"
|
2022-03-17 18:26:01 +00:00
|
|
|
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
|
2022-03-17 20:11:41 +00:00
|
|
|
base = { path = "../base" } # provided by ebuild
|
2022-03-17 18:26:01 +00:00
|
|
|
thiserror = "1.0.20"
|
|
|
|
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
|
|
|
anyhow = "1.0"
|
2022-03-17 20:11:41 +00:00
|
|
|
serde = "*"
|
2022-03-17 18:26:01 +00:00
|
|
|
|
2022-04-13 04:36:24 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
io_uring = { path = "../io_uring" } # provided by ebuild
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
winapi = "*"
|
|
|
|
win_util = { path = "../win_util" }
|
|
|
|
smallvec = "*"
|
|
|
|
|
2022-03-17 18:26:01 +00:00
|
|
|
[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"
|
|
|
|
|
|
|
|
|