2021-07-13 06:14:25 +00:00
|
|
|
[package]
|
|
|
|
name = "cros_async"
|
|
|
|
version = "0.2.0"
|
2022-03-08 01:16:09 +00:00
|
|
|
edition = "2021"
|
2021-07-13 06:14:25 +00:00
|
|
|
|
|
|
|
[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"
|
2021-12-27 14:10:48 +00:00
|
|
|
io-uring = { version = "0.5", optional = true, features = ["unstable"] }
|
2022-03-04 00:33:47 +00:00
|
|
|
memoffset = "0.6"
|
2021-07-13 06:14:25 +00:00
|
|
|
once_cell = "1.7"
|
|
|
|
slab = "0.4"
|
2021-10-18 09:05:45 +00:00
|
|
|
smallvec = { version = "1.6.1", default-features = false, features = ["union"] }
|
2021-07-13 06:14:25 +00:00
|
|
|
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]
|