mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-20 15:01:16 +00:00
Rust 2021 edition has a few improvements over the 2018 edition. Migrate the project to 2021 edition by following recommended migration steps. Luckily, the code itself doesn't require fixing. Bump MSRV to 1.56 as it is required by the 2021 edition. Also fix the clap build dependency to make Cloud Hypervisor build again. Signed-off-by: Wei Liu <liuwe@microsoft.com>
31 lines
886 B
TOML
31 lines
886 B
TOML
[package]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
tdx = []
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables" }
|
|
anyhow = "1.0.56"
|
|
byteorder = "1.4.3"
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "0.2.122"
|
|
linux-loader = { version = "0.4.0", features = ["elf", "bzimage", "pe"] }
|
|
log = "0.4.16"
|
|
serde = { version = "1.0.136", features = ["rc"] }
|
|
serde_derive = "1.0.136"
|
|
thiserror = "1.0.30"
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-bitmap"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { version = "0.9.0", features = ["with-serde"] }
|
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
fdt_parser = { version = "0.1.3", package = 'fdt'}
|
|
vm-fdt = { git = "https://github.com/rust-vmm/vm-fdt", branch = "main" }
|