mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
97dff044f8
Updates are made to source and documentation. This more accurately represents the currently supported platforms of Android/Linux and Windows, without unexpectedly including other unix-like operating systems. Command to reproduce: $ find . -type f -not -path '*/\.git/*' | xargs -I {} sed -i 's/cfg(unix)/cfg(any(target_os = "android", target_os = "linux"))/g' {} $ cargo fmt md files manually updated to fix line lengths. Renaming `unix` modules to `linux` will be done in a later CL. Test: ./tools/dev_container ./tools/presubmit Bug: b/298269162 Change-Id: I42c1bf0abf80b9a0df25551613910293217c7295 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4909059 Commit-Queue: Cody Schuffelen <schuffelen@google.com> Reviewed-by: Frederick Mayle <fmayle@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com>
44 lines
1.2 KiB
TOML
44 lines
1.2 KiB
TOML
[package]
|
|
name = "cros_async"
|
|
version = "0.1.1"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.36"
|
|
async-task = "4"
|
|
cfg-if = "1.0.0"
|
|
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
|
|
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
|
|
|
|
[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"
|