mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
44762216cf
This is a follow-up to https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3864926, which implements this for QCOW. Same rationale: allow to turn off support for disk formats that projects do not need/want. BUG=None TEST=./tools/presubmit; cd crosvm-fuzz && cargo build Change-Id: I401bad4d4ccb1a00a303ed86f1156f153b70b562 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3872278 Commit-Queue: Christian Blichmann <cblichmann@google.com> Reviewed-by: David Stevens <stevensd@chromium.org> Tested-by: Christian Blichmann <cblichmann@google.com>
35 lines
880 B
TOML
35 lines
880 B
TOML
[package]
|
|
name = "disk"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS 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 = "2.3", 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 = "0.8.2", features = ["v4"], optional = true }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[dependencies.futures]
|
|
version = "*"
|
|
default-features = false
|