1[package] 2name = "cros_async" 3version = "0.1.1" 4authors = ["The ChromiumOS Authors"] 5edition = "2021" 6 7[features] 8tokio = ["dep:tokio"] 9 10[dependencies] 11async-trait = "0.1.36" 12async-task = "4" 13cfg-if = "1.0.0" 14intrusive-collections = "0.9" 15libc = "0.2" 16once_cell = "1.7.2" 17paste = "1.0" 18pin-utils = "0.1.0-alpha.4" 19remain = "0.2" 20slab = "0.4" 21sync = { path = "../common/sync" } # provided by ebuild 22base = { path = "../base" } # provided by ebuild 23thiserror = "1.0.20" 24audio_streams = { path = "../common/audio_streams" } # provided by ebuild 25anyhow = "1.0" 26serde = "1" 27serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } # provided by ebuild 28static_assertions = "1.1" 29tokio = { workspace = true, optional = true } 30 31[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] 32io_uring = { path = "../io_uring" } # provided by ebuild 33 34[target.'cfg(windows)'.dependencies] 35winapi = "0.3" 36win_util = { path = "../win_util" } 37smallvec = "1" 38 39[dependencies.futures] 40version = "0.3" 41default-features = false 42features = ["alloc"] 43 44[dev-dependencies] 45futures = { version = "0.3", features = ["executor"] } 46futures-executor = { version = "0.3", features = ["thread-pool"] } 47futures-util = "0.3" 48tempfile = "3" 49