mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 00:11:16 +00:00
The rust-vmm crates we're pulling from git have renamed their main branches. We need to update the branch names we're giving to Cargo, or people who don't have these dependencies cached will get errors like this when trying to build: error: failed to get `vm-fdt` as a dependency of package `arch v0.1.0 (/home/src/cloud-hypervisor/arch)` Caused by: failed to load source for dependency `vm-fdt` Caused by: Unable to update https://github.com/rust-vmm/vm-fdt?branch=master#031572a6 Caused by: object not found - no match for id (031572a6edc2f566a7278f1e17088fc5308d27ab); class=Odb (9); code=NotFound (-3) Signed-off-by: Alyssa Ross <hi@alyssa.is>
31 lines
901 B
TOML
31 lines
901 B
TOML
[package]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables"]
|
|
tdx = []
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
anyhow = "1.0.43"
|
|
byteorder = "1.4.3"
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "0.2.101"
|
|
linux-loader = { version = "0.3.0", features = ["elf", "bzimage", "pe"] }
|
|
log = "0.4.14"
|
|
serde = { version = "1.0.130", features = ["rc"] }
|
|
thiserror = "1.0.28"
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vm-memory = { version = "0.6.0", features = ["backend-mmap", "backend-bitmap"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { version = "0.8.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" }
|