2019-07-02 23:54:05 +00:00
|
|
|
[package]
|
|
|
|
name = "disk"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
path = "src/disk.rs"
|
|
|
|
|
2019-07-08 23:14:24 +00:00
|
|
|
[features]
|
2021-06-17 17:12:14 +00:00
|
|
|
composite-disk = ["crc32fast", "protos", "protobuf", "uuid"]
|
2019-07-08 23:14:24 +00:00
|
|
|
|
2019-07-02 23:54:05 +00:00
|
|
|
[dependencies]
|
2020-09-17 01:21:58 +00:00
|
|
|
async-trait = "0.1.36"
|
2021-10-27 18:04:03 +00:00
|
|
|
base = { path = "../common/base" }
|
2021-06-17 17:12:14 +00:00
|
|
|
crc32fast = { version = "1.2.1", optional = true }
|
2019-07-02 23:54:05 +00:00
|
|
|
libc = "*"
|
2019-07-08 23:14:24 +00:00
|
|
|
protobuf = { version = "2.3", optional = true }
|
2019-07-02 23:54:05 +00:00
|
|
|
remain = "*"
|
2021-09-22 20:10:11 +00:00
|
|
|
tempfile = "3"
|
2021-06-08 19:11:24 +00:00
|
|
|
thiserror = "*"
|
2021-06-17 17:12:14 +00:00
|
|
|
uuid = { version = "0.8.2", features = ["v4"], optional = true }
|
2021-10-27 18:04:03 +00:00
|
|
|
cros_async = { path = "../common/cros_async" }
|
|
|
|
data_model = { path = "../common/data_model" }
|
2021-06-17 17:12:14 +00:00
|
|
|
protos = { path = "../protos", features = ["composite-disk"], optional = true }
|
2020-06-27 00:54:02 +00:00
|
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
|
|
|
|
[dependencies.futures]
|
|
|
|
version = "*"
|
|
|
|
default-features = false
|