mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-25 13:36:05 +00:00
be88444c55
The AsyncDisk Trait will be used by block to issue asynchronous operations on kernels that support async IO. TEST=Added unit tests Cq-Depend: chromium:2265040 Change-Id: I83adb83df278c4d19ac5dd4e5b91fb5bf96d4e89 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2306785 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Dylan Reid <dgreid@chromium.org>
27 lines
549 B
TOML
27 lines
549 B
TOML
[package]
|
|
name = "disk"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
path = "src/disk.rs"
|
|
|
|
[features]
|
|
composite-disk = ["protos", "protobuf"]
|
|
|
|
[dependencies]
|
|
async-trait = "*"
|
|
libc = "*"
|
|
protobuf = { version = "2.3", optional = true }
|
|
remain = "*"
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../data_model" }
|
|
protos = { path = "../protos", optional = true }
|
|
sys_util = { path = "../sys_util" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[dependencies.futures]
|
|
version = "*"
|
|
default-features = false
|