2017-05-02 00:57:18 +00:00
|
|
|
[package]
|
|
|
|
name = "crosvm"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["The Chromium OS Authors"]
|
2019-03-13 03:52:19 +00:00
|
|
|
edition = "2018"
|
2017-05-02 00:57:18 +00:00
|
|
|
|
2019-08-01 00:07:27 +00:00
|
|
|
[lib]
|
|
|
|
path = "src/crosvm.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "crosvm"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2017-05-02 00:57:18 +00:00
|
|
|
[profile.release]
|
|
|
|
panic = 'abort'
|
2018-10-15 22:40:09 +00:00
|
|
|
overflow-checks = true
|
2017-05-02 00:57:18 +00:00
|
|
|
|
2017-11-09 01:33:46 +00:00
|
|
|
[workspace]
|
2019-01-18 12:00:36 +00:00
|
|
|
members = ["qcow_utils"]
|
2018-12-20 07:44:11 +00:00
|
|
|
exclude = [
|
|
|
|
"assertions",
|
2019-11-23 00:52:03 +00:00
|
|
|
"async_core",
|
2019-11-23 00:41:01 +00:00
|
|
|
"cros_async",
|
2018-12-20 07:44:11 +00:00
|
|
|
"data_model",
|
2019-04-06 21:30:04 +00:00
|
|
|
"rand_ish",
|
2018-12-20 07:44:11 +00:00
|
|
|
"sync",
|
|
|
|
"sys_util",
|
|
|
|
"syscall_defines",
|
2019-04-11 00:59:15 +00:00
|
|
|
"tempfile",
|
2020-04-30 20:46:40 +00:00
|
|
|
"hypervisor"
|
2018-12-20 07:44:11 +00:00
|
|
|
]
|
2017-11-09 01:33:46 +00:00
|
|
|
|
2018-01-17 01:35:27 +00:00
|
|
|
[features]
|
2018-05-10 17:25:58 +00:00
|
|
|
default-no-sandbox = []
|
2017-09-14 02:15:43 +00:00
|
|
|
gpu = ["devices/gpu"]
|
2019-04-06 03:34:50 +00:00
|
|
|
plugin = ["protos/plugin", "crosvm_plugin", "protobuf"]
|
2019-04-06 21:30:04 +00:00
|
|
|
tpm = ["devices/tpm"]
|
2019-12-06 13:24:40 +00:00
|
|
|
video-decoder = ["devices/video-decoder"]
|
|
|
|
video-encoder = ["devices/video-encoder"]
|
2019-04-06 21:30:04 +00:00
|
|
|
wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"]
|
2019-04-16 22:09:20 +00:00
|
|
|
x = ["devices/x"]
|
2019-09-09 21:40:11 +00:00
|
|
|
virtio-gpu-next = ["gpu_renderer/virtio-gpu-next"]
|
2019-07-08 23:14:24 +00:00
|
|
|
composite-disk = ["protos/composite-disk", "protobuf", "disk/composite-disk"]
|
2020-01-30 18:00:36 +00:00
|
|
|
gfxstream = ["devices/gfxstream"]
|
2018-01-17 01:35:27 +00:00
|
|
|
|
2017-05-02 00:57:18 +00:00
|
|
|
[dependencies]
|
2018-02-14 06:09:43 +00:00
|
|
|
arch = { path = "arch" }
|
2019-04-12 23:57:48 +00:00
|
|
|
assertions = { path = "assertions" }
|
2019-01-07 18:33:48 +00:00
|
|
|
audio_streams = "*"
|
2018-05-22 18:22:13 +00:00
|
|
|
bit_field = { path = "bit_field" }
|
2019-04-06 21:30:04 +00:00
|
|
|
crosvm_plugin = { path = "crosvm_plugin", optional = true }
|
|
|
|
data_model = "*"
|
2017-10-06 22:26:46 +00:00
|
|
|
devices = { path = "devices" }
|
2019-07-02 23:54:05 +00:00
|
|
|
disk = { path = "disk" }
|
2019-01-16 00:23:48 +00:00
|
|
|
enumn = { path = "enumn" }
|
2018-04-26 00:49:56 +00:00
|
|
|
gpu_buffer = { path = "gpu_buffer", optional = true }
|
2019-09-09 21:40:11 +00:00
|
|
|
gpu_renderer = { path = "gpu_renderer", optional = true }
|
2017-05-12 23:15:53 +00:00
|
|
|
io_jail = { path = "io_jail" }
|
2018-02-02 01:49:01 +00:00
|
|
|
kernel_cmdline = { path = "kernel_cmdline" }
|
2017-05-02 00:57:18 +00:00
|
|
|
kernel_loader = { path = "kernel_loader" }
|
2019-04-06 21:30:04 +00:00
|
|
|
kvm = { path = "kvm" }
|
|
|
|
kvm_sys = { path = "kvm_sys" }
|
2019-11-08 18:59:13 +00:00
|
|
|
libc = "0.2.44"
|
2019-01-22 07:22:25 +00:00
|
|
|
libcras = "*"
|
2019-12-10 01:26:22 +00:00
|
|
|
minijail-sys = "*" # provided by ebuild
|
2019-04-06 21:30:04 +00:00
|
|
|
msg_socket = { path = "msg_socket" }
|
2017-09-28 04:04:03 +00:00
|
|
|
net_util = { path = "net_util" }
|
2019-04-06 21:30:04 +00:00
|
|
|
p9 = { path = "p9" }
|
2019-04-11 00:59:15 +00:00
|
|
|
protobuf = { version = "2.3", optional = true }
|
2019-04-06 03:34:50 +00:00
|
|
|
protos = { path = "protos", optional = true }
|
2019-01-14 22:19:04 +00:00
|
|
|
rand_ish = { path = "rand_ish" }
|
2019-03-11 19:36:30 +00:00
|
|
|
remain = "*"
|
2019-04-06 21:30:04 +00:00
|
|
|
resources = { path = "resources" }
|
|
|
|
sync = { path = "sync" }
|
|
|
|
sys_util = "*"
|
|
|
|
vhost = { path = "vhost" }
|
|
|
|
vm_control = { path = "vm_control" }
|
2019-11-01 07:18:13 +00:00
|
|
|
acpi_tables = { path = "acpi_tables" }
|
2017-05-02 00:57:18 +00:00
|
|
|
|
2017-08-31 00:07:01 +00:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
|
|
x86_64 = { path = "x86_64" }
|
2018-01-17 01:59:03 +00:00
|
|
|
|
2018-02-27 01:27:40 +00:00
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'.dependencies]
|
|
|
|
aarch64 = { path = "aarch64" }
|
|
|
|
|
2018-01-17 01:59:03 +00:00
|
|
|
[dev-dependencies]
|
2018-12-20 07:44:11 +00:00
|
|
|
sys_util = "*"
|
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
assertions = { path = "assertions" }
|
2018-12-06 19:47:18 +00:00
|
|
|
audio_streams = { path = "../../third_party/adhd/audio_streams" } # ignored by ebuild
|
2018-12-20 07:44:11 +00:00
|
|
|
data_model = { path = "data_model" }
|
2019-01-22 07:22:25 +00:00
|
|
|
libcras = { path = "../../third_party/adhd/cras/client/libcras" } # ignored by ebuild
|
2019-12-06 13:24:40 +00:00
|
|
|
libvda = { path = "../../platform2/arc/vm/libvda/rust" } # ignored by ebuild
|
2019-12-10 01:26:22 +00:00
|
|
|
minijail-sys = { path = "../../aosp/external/minijail" } # ignored by ebuild
|
2018-12-20 07:44:11 +00:00
|
|
|
poll_token_derive = { path = "sys_util/poll_token_derive" }
|
|
|
|
sync = { path = "sync" }
|
2018-01-31 20:54:51 +00:00
|
|
|
sys_util = { path = "sys_util" }
|
2018-12-20 07:44:11 +00:00
|
|
|
syscall_defines = { path = "syscall_defines" }
|
2019-04-11 00:59:15 +00:00
|
|
|
tempfile = { path = "tempfile" }
|