31 lines
752 B
TOML
31 lines
752 B
TOML
[package]
|
|
name = "disk"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[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 = "3"
|
|
thiserror = "*"
|
|
uuid = { version = "0.8.2", features = ["v4"], optional = true }
|
|
cros_async = { path = "../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
|