mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
`RawBackend::IoUring` is only available when `io_uring` feature is defined. Signed-off-by: Wei Liu <liuwe@microsoft.com>
41 lines
957 B
TOML
41 lines
957 B
TOML
[package]
|
|
authors = ["The Chromium OS Authors", "The Cloud Hypervisor Authors"]
|
|
edition.workspace = true
|
|
name = "block"
|
|
rust-version.workspace = true
|
|
version = "0.1.0"
|
|
|
|
[features]
|
|
default = []
|
|
io_uring = ["dep:io-uring"]
|
|
|
|
[dependencies]
|
|
bitflags = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
crc-any = "2.5.0"
|
|
flate2 = "1.1"
|
|
io-uring = { version = "0.7.12", optional = true }
|
|
libc = { workspace = true }
|
|
log = { workspace = true }
|
|
remain = "0.2.15"
|
|
serde = { workspace = true, features = ["derive"] }
|
|
smallvec = "1.15.1"
|
|
thiserror = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4"] }
|
|
virtio-bindings = { workspace = true }
|
|
virtio-queue = { workspace = true }
|
|
vm-memory = { workspace = true, features = [
|
|
"backend-atomic",
|
|
"backend-bitmap",
|
|
"backend-mmap",
|
|
] }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { workspace = true }
|
|
zstd = "0.13"
|
|
|
|
[dev-dependencies]
|
|
cfg-if = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|