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-12-29 21:24:33 +00:00
|
|
|
authors = ["The ChromiumOS Authors"]
|
2022-03-17 18:26:01 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
2024-01-07 03:25:46 +00:00
|
|
|
[features]
|
|
|
|
tokio = ["dep:tokio"]
|
|
|
|
|
2022-03-17 18:26:01 +00:00
|
|
|
[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
|
|
|
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-10-13 19:16:21 +00:00
|
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } # provided by ebuild
|
2023-12-14 23:54:16 +00:00
|
|
|
static_assertions = "1.1"
|
2024-04-12 17:25:42 +00:00
|
|
|
tokio = { version = "1.29.1", optional = true, features = ["net", "rt-multi-thread"] }
|
2022-03-17 18:26:01 +00:00
|
|
|
|
2023-10-03 01:33:00 +00:00
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
2022-04-13 04:36:24 +00:00
|
|
|
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"
|