arch: Include "thiserror" crate as well as "anyhow"

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2021-02-03 10:23:35 +00:00 committed by Samuel Ortiz
parent 707bb0ba72
commit 6e4c90f305
3 changed files with 5 additions and 2 deletions

1
Cargo.lock generated
View File

@ -72,6 +72,7 @@ dependencies = [
"serde",
"serde_derive",
"serde_json",
"thiserror",
"vm-memory",
"vm-migration",
]

View File

@ -8,7 +8,9 @@ default = []
acpi = ["acpi_tables"]
[dependencies]
acpi_tables = { path = "../acpi_tables", optional = true }
anyhow = "1.0"
arch_gen = { path = "../arch_gen" }
byteorder = "1.3.4"
hypervisor = { path = "../hypervisor" }
libc = "0.2.86"
@ -16,10 +18,9 @@ log = "0.4.14"
serde = {version = ">=1.0.27", features = ["rc"] }
serde_derive = ">=1.0.27"
serde_json = ">=1.0.9"
thiserror = "1.0"
vm-memory = { version = "0.5.0", features = ["backend-mmap"] }
vm-migration = { path = "../vm-migration" }
acpi_tables = { path = "../acpi_tables", optional = true }
arch_gen = { path = "../arch_gen" }
[dependencies.linux-loader]
git = "https://github.com/rust-vmm/linux-loader"

View File

@ -25,6 +25,7 @@ extern crate vm_migration;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate thiserror;
use std::fmt;
use std::result;