blob: f3bbf14f3a953649c0c01ed27bc9e2ac4ca2a982 [file] [log] [blame]
[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 = "../common/base" }
crc32fast = { version = "1.2.1", optional = true }
libc = "*"
protobuf = { version = "2.3", optional = true }
remain = "*"
tempfile = "3"
thiserror = "*"
uuid = { version = "0.8.2", features = ["v4"], optional = true }
cros_async = { path = "../common/cros_async" }
data_model = { path = "../common/data_model" }
protos = { path = "../protos", features = ["composite-disk"], optional = true }
vm_memory = { path = "../vm_memory" }
[dependencies.futures]
version = "*"
default-features = false