mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Moves the MSRV requirement to the workspace and expands it to all cloud-hypervisor dependencies and dev-dependencies. This improves discoverability for new contributors working on crates other than the cloud-hypervisor itself and creates consistency regarding the MSRV of cloud-hypervisor dependencies. Functionally, this doesn't change anything for dependencies of the cloud-hypervisor crate as the MSRV requirement is already enforced by CI when building the cloud-hypervisor with the MSRV versioned compiler. On-behalf-of: SAP julian.schindel@sap.com Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de>
55 lines
1.4 KiB
TOML
55 lines
1.4 KiB
TOML
[package]
|
|
authors = ["The Chromium OS Authors"]
|
|
edition.workspace = true
|
|
name = "devices"
|
|
rust-version.workspace = true
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
acpi_tables = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
arch = { path = "../arch" }
|
|
bitfield-struct = { version = "0.12.0", optional = true }
|
|
bitflags = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
event_monitor = { path = "../event_monitor" }
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = { workspace = true }
|
|
linux-loader = { workspace = true, features = [
|
|
"bzimage",
|
|
"elf",
|
|
"pe",
|
|
], optional = true }
|
|
log = { workspace = true }
|
|
num_enum = "0.7.5"
|
|
pci = { path = "../pci" }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
thiserror = { workspace = true }
|
|
tpm = { path = "../tpm" }
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { workspace = true, features = [
|
|
"backend-atomic",
|
|
"backend-bitmap",
|
|
"backend-mmap",
|
|
] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { workspace = true }
|
|
zerocopy = { version = "0.8.42", features = [
|
|
"alloc",
|
|
"derive",
|
|
], optional = true }
|
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
|
|
arch = { path = "../arch" }
|
|
|
|
[features]
|
|
default = []
|
|
fw_cfg = ["arch/fw_cfg", "bitfield-struct", "linux-loader", "zerocopy"]
|
|
ivshmem = []
|
|
kvm = ["arch/kvm"]
|
|
pvmemcontrol = []
|
|
|
|
[lints]
|
|
workspace = true
|