mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
cbba480ebe
zerocopy 0.7.x has finally released as a stable version, uprev it to allow some remaining structs to be derivable. TEST=CQ BUG=b:300969352 FIXED=b:300969352 Change-Id: I90f0dfb09494f875fef1cd11bfcbd48030846092 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4878761 Auto-Submit: Zihan Chen <zihanchen@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Zihan Chen <zihanchen@google.com>
36 lines
929 B
TOML
36 lines
929 B
TOML
[package]
|
|
name = "disk"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
path = "src/disk.rs"
|
|
|
|
[features]
|
|
android-sparse = []
|
|
composite-disk = ["crc32fast", "protos", "protobuf", "uuid"]
|
|
qcow = []
|
|
|
|
[dependencies]
|
|
async-trait = "*"
|
|
base = { path = "../base" }
|
|
cfg-if = "1.0.0"
|
|
crc32fast = { version = "1.2.1", optional = true }
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../common/data_model" }
|
|
libc = "*"
|
|
protobuf = { version = "3.2", optional = true }
|
|
protos = { path = "../protos", features = ["composite-disk"], optional = true }
|
|
remain = "*"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
sync = { path = "../common/sync" }
|
|
thiserror = "*"
|
|
tempfile = "3"
|
|
uuid = { version = "1", features = ["v4"], optional = true }
|
|
vm_memory = { path = "../vm_memory" }
|
|
zerocopy = { version = "0.7", features = ["derive"] }
|
|
|
|
[dependencies.futures]
|
|
version = "*"
|
|
default-features = false
|