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
|
|
|
|
|
|
|
[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",
|
|
|
|
"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",
|
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"]
|
2018-11-21 19:06:18 +00:00
|
|
|
gpu-forward = ["render_node_forward"]
|
2019-04-06 03:34:50 +00:00
|
|
|
plugin = ["protos/plugin", "crosvm_plugin", "protobuf"]
|
2019-03-14 00:02:32 +00:00
|
|
|
sandboxed-libusb = ["devices/sandboxed-libusb", "vm_control/sandboxed-libusb"]
|
2019-04-06 21:30:04 +00:00
|
|
|
tpm = ["devices/tpm"]
|
|
|
|
wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"]
|
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
|
|
|
byteorder = "=1.1.0"
|
|
|
|
crosvm_plugin = { path = "crosvm_plugin", optional = true }
|
|
|
|
data_model = "*"
|
2017-10-06 22:26:46 +00:00
|
|
|
devices = { path = "devices" }
|
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 }
|
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" }
|
2018-11-27 02:03:14 +00:00
|
|
|
libc = "=0.2.44"
|
2019-01-22 07:22:25 +00:00
|
|
|
libcras = "*"
|
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-04-06 21:30:04 +00:00
|
|
|
qcow = { path = "qcow" }
|
2019-01-14 22:19:04 +00:00
|
|
|
rand_ish = { path = "rand_ish" }
|
2019-03-11 19:36:30 +00:00
|
|
|
remain = "*"
|
2018-11-21 19:06:18 +00:00
|
|
|
render_node_forward = { path = "render_node_forward", optional = true }
|
2019-04-06 21:30:04 +00:00
|
|
|
resources = { path = "resources" }
|
|
|
|
sync = { path = "sync" }
|
|
|
|
sys_util = "*"
|
|
|
|
vhost = { path = "vhost" }
|
|
|
|
vm_control = { path = "vm_control" }
|
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
|
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" }
|