crosvm/x86_64/Cargo.toml
Daniel Verkamp 383ae1a6bf Replace memoffset with std::core::offset_of
offset_of!() is available in the standard library as of Rust 1.77.

Also update intrusive-collections 0.9.4 -> 0.9.6, which drops an
indirect dependency on memoffset 0.5.6:

  cargo update -p intrusive-collections

BUG=b:344974550
TEST=tools/dev_container tools/presubmit

Change-Id: I37a9bf0aee5f5f55bdea1e17d71889e8a3badb36
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5667936
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2024-06-28 22:07:50 +00:00

41 lines
1.1 KiB
TOML

[package]
name = "x86_64"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
gdb = ["gdbstub_arch", "arch/gdb"]
seccomp_trace = []
swap = ["swap/enable"]
[dependencies]
acpi_tables = {path = "../acpi_tables" }
arch = { path = "../arch" }
anyhow = "1"
cfg-if = "1.0.0"
chrono = { version = "0.4.34", default-features = false }
cros_fdt = { path = "../cros_fdt" }
devices = { path = "../devices" }
gdbstub_arch = { version = "0.3.0", optional = true }
hypervisor = { path = "../hypervisor" }
jail = { path = "../jail" }
kernel_cmdline = { path = "../kernel_cmdline" }
kernel_loader = { path = "../kernel_loader" }
libc = "0.2"
once_cell = "1.7.2"
rand = "0.8"
remain = "0.2"
resources = { path = "../resources" }
sync = { path = "../common/sync" }
thiserror = "1"
uuid = { version = "1", features = ["v4"] }
base = { path = "../base" }
swap = { path = "../swap" }
vm_control = { path = "../vm_control" }
vm_memory = { path = "../vm_memory" }
zerocopy = { version = "0.7", features = ["derive"] }
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
minijail = "*"