1[package] 2name = "disk" 3version = "0.1.0" 4authors = ["The ChromiumOS Authors"] 5edition = "2021" 6 7[lib] 8path = "src/disk.rs" 9 10[features] 11android-sparse = [] 12composite-disk = ["crc32fast", "protos", "protobuf", "uuid"] 13qcow = [] 14zstd-disk = ["zstd"] 15 16[dependencies] 17anyhow = "*" 18async-trait = "0.1.36" 19base = { path = "../base" } 20cfg-if = "1.0.0" 21crc32fast = { version = "1.2.1", optional = true } 22cros_async = { path = "../cros_async" } 23data_model = { path = "../common/data_model" } 24libc = "0.2" 25protobuf = { version = "3.2", optional = true } 26protos = { path = "../protos", features = ["composite-disk"], optional = true } 27remain = "0.2" 28serde = { version = "1", features = ["derive"] } 29sync = { path = "../common/sync" } 30thiserror = "1" 31uuid = { version = "1", features = ["v4"], optional = true } 32vm_memory = { path = "../vm_memory" } 33zerocopy = { version = "0.7", features = ["derive"] } 34zstd = { version = "0.13", optional = true } 35 36[target.'cfg(windows)'.dependencies] 37winapi = "0.3" 38 39[dependencies.futures] 40version = "0.3" 41default-features = false 42 43[dev-dependencies] 44tempfile = "3" 45