2019-07-02 23:54:05 +00:00
|
|
|
[package]
|
|
|
|
name = "disk"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["The Chromium OS Authors"]
|
2022-03-08 01:16:09 +00:00
|
|
|
edition = "2021"
|
2019-07-02 23:54:05 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
path = "src/disk.rs"
|
|
|
|
|
2019-07-08 23:14:24 +00:00
|
|
|
[features]
|
2022-09-05 12:29:55 +00:00
|
|
|
android-sparse = []
|
2021-06-17 17:12:14 +00:00
|
|
|
composite-disk = ["crc32fast", "protos", "protobuf", "uuid"]
|
2022-08-31 13:30:11 +00:00
|
|
|
qcow = []
|
2019-07-08 23:14:24 +00:00
|
|
|
|
2019-07-02 23:54:05 +00:00
|
|
|
[dependencies]
|
2022-05-18 23:14:56 +00:00
|
|
|
async-trait = "*"
|
2022-03-16 19:16:04 +00:00
|
|
|
base = { path = "../base" }
|
2022-05-18 23:14:56 +00:00
|
|
|
cfg-if = "1.0.0"
|
2021-06-17 17:12:14 +00:00
|
|
|
crc32fast = { version = "1.2.1", optional = true }
|
2022-05-18 23:14:56 +00:00
|
|
|
cros_async = { path = "../cros_async" }
|
|
|
|
data_model = { path = "../common/data_model" }
|
2019-07-02 23:54:05 +00:00
|
|
|
libc = "*"
|
2019-07-08 23:14:24 +00:00
|
|
|
protobuf = { version = "2.3", optional = true }
|
2022-05-18 23:14:56 +00:00
|
|
|
protos = { path = "../protos", features = ["composite-disk"], optional = true }
|
2019-07-02 23:54:05 +00:00
|
|
|
remain = "*"
|
2022-05-18 23:14:56 +00:00
|
|
|
serde = { version = "1", features = [ "derive" ] }
|
2022-05-13 20:27:00 +00:00
|
|
|
sync = { path = "../common/sync" }
|
2021-06-08 19:11:24 +00:00
|
|
|
thiserror = "*"
|
2022-05-18 23:14:56 +00:00
|
|
|
tempfile = "3"
|
2021-06-17 17:12:14 +00:00
|
|
|
uuid = { version = "0.8.2", features = ["v4"], optional = true }
|
2020-06-27 00:54:02 +00:00
|
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
|
|
|
|
[dependencies.futures]
|
|
|
|
version = "*"
|
|
|
|
default-features = false
|