Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 1 | [package] |
| 2 | name = "crosvm" |
| 3 | version = "0.1.0" |
| 4 | authors = ["The Chromium OS Authors"] |
David Tolnay | 0159e5a | 2019-03-12 20:52:19 -0700 | [diff] [blame] | 5 | edition = "2018" |
Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 6 | |
Zach Reizner | 267f2c8 | 2019-07-31 17:07:27 -0700 | [diff] [blame] | 7 | [lib] |
| 8 | path = "src/crosvm.rs" |
| 9 | |
| 10 | [[bin]] |
| 11 | name = "crosvm" |
| 12 | path = "src/main.rs" |
| 13 | |
Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 14 | [profile.release] |
Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 15 | panic = 'abort' |
Zach Reizner | f6b58e4 | 2018-10-15 15:40:09 -0700 | [diff] [blame] | 16 | overflow-checks = true |
Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 17 | |
Dylan Reid | 939d588 | 2017-11-08 17:33:46 -0800 | [diff] [blame] | 18 | [workspace] |
paulhsia | b6d842f | 2019-01-18 20:00:36 +0800 | [diff] [blame] | 19 | members = ["qcow_utils"] |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 20 | exclude = [ |
| 21 | "assertions", |
Dylan Reid | eed7020 | 2019-11-22 16:52:03 -0800 | [diff] [blame] | 22 | "async_core", |
Dylan Reid | 2cc1383 | 2019-11-22 16:41:01 -0800 | [diff] [blame] | 23 | "cros_async", |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 24 | "data_model", |
David Tolnay | 48ff416 | 2019-04-06 14:30:04 -0700 | [diff] [blame] | 25 | "rand_ish", |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 26 | "sync", |
| 27 | "sys_util", |
| 28 | "syscall_defines", |
David Tolnay | fd67ec5 | 2019-04-10 17:59:15 -0700 | [diff] [blame] | 29 | "tempfile", |
Udam Saini | 6fe08fa | 2020-04-30 13:46:40 -0700 | [diff] [blame] | 30 | "hypervisor" |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 31 | ] |
Dylan Reid | 939d588 | 2017-11-08 17:33:46 -0800 | [diff] [blame] | 32 | |
Zach Reizner | e0983c7 | 2018-01-16 17:35:27 -0800 | [diff] [blame] | 33 | [features] |
Dmitry Torokhov | 5e05a83 | 2018-05-10 10:25:58 -0700 | [diff] [blame] | 34 | default-no-sandbox = [] |
Zach Reizner | 3a8100a | 2017-09-13 19:15:43 -0700 | [diff] [blame] | 35 | gpu = ["devices/gpu"] |
David Tolnay | 65928af | 2019-04-05 20:34:50 -0700 | [diff] [blame] | 36 | plugin = ["protos/plugin", "crosvm_plugin", "protobuf"] |
David Tolnay | 48ff416 | 2019-04-06 14:30:04 -0700 | [diff] [blame] | 37 | tpm = ["devices/tpm"] |
Keiichi Watanabe | 57df6a0 | 2019-12-06 22:24:40 +0900 | [diff] [blame] | 38 | video-decoder = ["devices/video-decoder"] |
| 39 | video-encoder = ["devices/video-encoder"] |
David Tolnay | 48ff416 | 2019-04-06 14:30:04 -0700 | [diff] [blame] | 40 | wl-dmabuf = ["devices/wl-dmabuf", "gpu_buffer", "resources/wl-dmabuf"] |
Zach Reizner | f5285c6 | 2019-04-16 15:09:20 -0700 | [diff] [blame] | 41 | x = ["devices/x"] |
Gurchetan Singh | 144c279 | 2019-09-09 14:40:11 -0700 | [diff] [blame] | 42 | virtio-gpu-next = ["gpu_renderer/virtio-gpu-next"] |
Cody Schuffelen | f9b035d | 2019-07-08 16:14:24 -0700 | [diff] [blame] | 43 | composite-disk = ["protos/composite-disk", "protobuf", "disk/composite-disk"] |
Lingfeng Yang | ddbe8b7 | 2020-01-30 10:00:36 -0800 | [diff] [blame] | 44 | gfxstream = ["devices/gfxstream"] |
Zach Reizner | e0983c7 | 2018-01-16 17:35:27 -0800 | [diff] [blame] | 45 | |
Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 46 | [dependencies] |
Sonny Rao | ed517d1 | 2018-02-13 22:09:43 -0800 | [diff] [blame] | 47 | arch = { path = "arch" } |
David Tolnay | 4b292af | 2019-04-12 16:57:48 -0700 | [diff] [blame] | 48 | assertions = { path = "assertions" } |
Dylan Reid | 3082e8e | 2019-01-07 10:33:48 -0800 | [diff] [blame] | 49 | audio_streams = "*" |
Jingkui Wang | 8cad751 | 2018-05-22 11:22:13 -0700 | [diff] [blame] | 50 | bit_field = { path = "bit_field" } |
David Tolnay | 48ff416 | 2019-04-06 14:30:04 -0700 | [diff] [blame] | 51 | crosvm_plugin = { path = "crosvm_plugin", optional = true } |
| 52 | data_model = "*" |
Dylan Reid | d169a8d | 2017-10-06 15:26:46 -0700 | [diff] [blame] | 53 | devices = { path = "devices" } |
Cody Schuffelen | 7d533e5 | 2019-07-02 16:54:05 -0700 | [diff] [blame] | 54 | disk = { path = "disk" } |
Miriam Zimmerman | 16f659f | 2019-01-15 16:23:48 -0800 | [diff] [blame] | 55 | enumn = { path = "enumn" } |
Zach Reizner | 6f68543 | 2018-04-25 17:49:56 -0700 | [diff] [blame] | 56 | gpu_buffer = { path = "gpu_buffer", optional = true } |
Gurchetan Singh | 144c279 | 2019-09-09 14:40:11 -0700 | [diff] [blame] | 57 | gpu_renderer = { path = "gpu_renderer", optional = true } |
Dylan Reid | 61edbbf | 2017-05-12 16:15:53 -0700 | [diff] [blame] | 58 | io_jail = { path = "io_jail" } |
Sonny Rao | 6cc352f | 2018-02-01 17:49:01 -0800 | [diff] [blame] | 59 | kernel_cmdline = { path = "kernel_cmdline" } |
Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 60 | kernel_loader = { path = "kernel_loader" } |
David Tolnay | 48ff416 | 2019-04-06 14:30:04 -0700 | [diff] [blame] | 61 | kvm = { path = "kvm" } |
| 62 | kvm_sys = { path = "kvm_sys" } |
Zach Reizner | aa7f102 | 2019-11-08 10:59:13 -0800 | [diff] [blame] | 63 | libc = "0.2.44" |
paulhsia | f052cfe | 2019-01-22 15:22:25 +0800 | [diff] [blame] | 64 | libcras = "*" |
Stephen Barber | a2d845a | 2019-12-09 17:26:22 -0800 | [diff] [blame] | 65 | minijail-sys = "*" # provided by ebuild |
David Tolnay | 48ff416 | 2019-04-06 14:30:04 -0700 | [diff] [blame] | 66 | msg_socket = { path = "msg_socket" } |
Jason D. Clinton | 865323d | 2017-09-27 22:04:03 -0600 | [diff] [blame] | 67 | net_util = { path = "net_util" } |
Chirantan Ekbote | 800fcb0 | 2018-03-19 16:49:53 -0700 | [diff] [blame] | 68 | p9 = { path = "p9" } |
David Tolnay | fd67ec5 | 2019-04-10 17:59:15 -0700 | [diff] [blame] | 69 | protobuf = { version = "2.3", optional = true } |
David Tolnay | 65928af | 2019-04-05 20:34:50 -0700 | [diff] [blame] | 70 | protos = { path = "protos", optional = true } |
Daniel Prilik | 2200604 | 2019-01-14 14:19:04 -0800 | [diff] [blame] | 71 | rand_ish = { path = "rand_ish" } |
David Tolnay | 3df3552 | 2019-03-11 12:36:30 -0700 | [diff] [blame] | 72 | remain = "*" |
David Tolnay | 48ff416 | 2019-04-06 14:30:04 -0700 | [diff] [blame] | 73 | resources = { path = "resources" } |
| 74 | sync = { path = "sync" } |
| 75 | sys_util = "*" |
| 76 | vhost = { path = "vhost" } |
| 77 | vm_control = { path = "vm_control" } |
Chuanxiao Dong | 91e8403 | 2019-11-01 15:18:13 +0800 | [diff] [blame] | 78 | acpi_tables = { path = "acpi_tables" } |
Zach Reizner | 639d967 | 2017-05-01 17:57:18 -0700 | [diff] [blame] | 79 | |
Zach Reizner | 3cbded2 | 2017-08-30 17:07:01 -0700 | [diff] [blame] | 80 | [target.'cfg(target_arch = "x86_64")'.dependencies] |
| 81 | x86_64 = { path = "x86_64" } |
Zach Reizner | 8864cb0 | 2018-01-16 17:59:03 -0800 | [diff] [blame] | 82 | |
Sonny Rao | 2ffa0cb | 2018-02-26 17:27:40 -0800 | [diff] [blame] | 83 | [target.'cfg(any(target_arch = "aarch64", target_arch = "arm"))'.dependencies] |
| 84 | aarch64 = { path = "aarch64" } |
| 85 | |
Zach Reizner | 8864cb0 | 2018-01-16 17:59:03 -0800 | [diff] [blame] | 86 | [dev-dependencies] |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 87 | sys_util = "*" |
| 88 | |
| 89 | [patch.crates-io] |
| 90 | assertions = { path = "assertions" } |
Dylan Reid | b58b552 | 2018-12-06 19:47:18 +0000 | [diff] [blame] | 91 | audio_streams = { path = "../../third_party/adhd/audio_streams" } # ignored by ebuild |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 92 | data_model = { path = "data_model" } |
paulhsia | f052cfe | 2019-01-22 15:22:25 +0800 | [diff] [blame] | 93 | libcras = { path = "../../third_party/adhd/cras/client/libcras" } # ignored by ebuild |
Keiichi Watanabe | 57df6a0 | 2019-12-06 22:24:40 +0900 | [diff] [blame] | 94 | libvda = { path = "../../platform2/arc/vm/libvda/rust" } # ignored by ebuild |
Stephen Barber | a2d845a | 2019-12-09 17:26:22 -0800 | [diff] [blame] | 95 | minijail-sys = { path = "../../aosp/external/minijail" } # ignored by ebuild |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 96 | poll_token_derive = { path = "sys_util/poll_token_derive" } |
| 97 | sync = { path = "sync" } |
Zach Reizner | 53528e3 | 2018-01-31 12:54:51 -0800 | [diff] [blame] | 98 | sys_util = { path = "sys_util" } |
paulhsia | d1eceec | 2018-12-20 15:44:11 +0800 | [diff] [blame] | 99 | syscall_defines = { path = "syscall_defines" } |
David Tolnay | fd67ec5 | 2019-04-10 17:59:15 -0700 | [diff] [blame] | 100 | tempfile = { path = "tempfile" } |