xref: /aosp_15_r20/external/crosvm/arch/Cargo.toml (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1[package]
2name = "arch"
3version = "0.1.0"
4authors = ["The ChromiumOS Authors"]
5edition = "2021"
6
7[features]
8power-monitor-powerd = ["power_monitor/powerd"]
9gdb = ["gdbstub", "gdbstub_arch"]
10trace_marker = ["cros_tracing/trace_marker"]
11seccomp_trace = []
12swap = ["swap/enable"]
13
14[dependencies]
15acpi_tables = { path = "../acpi_tables" }
16anyhow = "1"
17base = { path = "../base" }
18cfg-if = "1.0.0"
19cros_fdt = { path = "../cros_fdt" }
20cros_tracing = { path = "../cros_tracing" }
21devices = { path = "../devices" }
22gdbstub = { version = "0.7.0", optional = true }
23gdbstub_arch = { version = "0.3.0", optional = true }
24hypervisor = { path = "../hypervisor" }
25jail = { path = "../jail" }
26kernel_cmdline = { path = "../kernel_cmdline" }
27libc = "0.2"
28metrics = { path = "../metrics" }
29resources = { path = "../resources" }
30remain = "0.2"
31serde = { version = "1", features = [ "derive"] }
32serde_json = { version = "1" }
33serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
34swap = { path = "../swap" }
35sync = { path = "../common/sync" }
36thiserror = "1.0.20"
37uuid = { version = "1", features = ["v4", "serde"] }
38vm_control = { path = "../vm_control" }
39vm_memory = { path = "../vm_memory" }
40
41[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
42minijail = "*" # provided by ebuild
43power_monitor = { path = "../power_monitor" }
44
45[target.'cfg(windows)'.dependencies]
46winapi = "0.3"
47
48[dev-dependencies]
49serde_json = "1"
50tempfile = "3"
51