mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
2f5e0c0e91
ChromeOS only has tokio version 1.29.1 vendored currently, so switch the required version in Cargo.toml and update Cargo.lock to ensure we can build against that version. Since this is only a difference in minor version, newer versions of tokio should also work for other downstream crosvm users. The Cargo.lock update was done by: cargo update -p tokio --precise 1.29.1 BUG=b:334109381 TEST=emerge-$BOARD Change-Id: I5f67367258cd51145a1ff74246cb4e0f02f6a8be Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5450247 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Dennis Kempin <denniskempin@google.com> Reviewed-by: Frederick Mayle <fmayle@google.com>
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
|
name = "cros_async"
|
|
version = "0.1.1"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
tokio = ["dep:tokio"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.36"
|
|
async-task = "4"
|
|
cfg-if = "1.0.0"
|
|
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
|
|
base = { path = "../base" } # provided by ebuild
|
|
thiserror = "1.0.20"
|
|
audio_streams = { path = "../common/audio_streams" } # provided by ebuild
|
|
anyhow = "1.0"
|
|
serde = "*"
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] } # provided by ebuild
|
|
static_assertions = "1.1"
|
|
tokio = { version = "1.29.1", optional = true, features = ["net", "rt-multi-thread"] }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
io_uring = { path = "../io_uring" } # provided by ebuild
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "*"
|
|
win_util = { path = "../win_util" }
|
|
smallvec = "*"
|
|
|
|
[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"
|