mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
fb7c108f15
This can be used like: crosvm create_composite composite.img partiton1:partition1.img partition2:partition2.img BUG=b:190503456 TEST=cargo test Cq-Depend: chromium:2982777, chromium:3008399 Change-Id: I31a9afe1e5f1e2a850ce1f892122150bcf3441b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2972869 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Auto-Submit: Andrew Walbran <qwandor@google.com>
30 lines
745 B
TOML
30 lines
745 B
TOML
[package]
|
|
name = "disk"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
path = "src/disk.rs"
|
|
|
|
[features]
|
|
composite-disk = ["crc32fast", "protos", "protobuf", "uuid"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.36"
|
|
base = { path = "../base" }
|
|
crc32fast = { version = "1.2.1", optional = true }
|
|
libc = "*"
|
|
protobuf = { version = "2.3", optional = true }
|
|
remain = "*"
|
|
tempfile = "*"
|
|
thiserror = "*"
|
|
uuid = { version = "0.8.2", features = ["v4"], optional = true }
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../data_model" }
|
|
protos = { path = "../protos", features = ["composite-disk"], optional = true }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[dependencies.futures]
|
|
version = "*"
|
|
default-features = false
|