2019-02-21 17:04:44 +01:00
|
|
|
[package]
|
|
|
|
name = "cloud-hypervisor"
|
2020-06-11 14:57:47 +01:00
|
|
|
version = "0.8.0"
|
2019-02-21 17:04:44 +01:00
|
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
|
|
edition = "2018"
|
2019-11-25 21:57:55 +00:00
|
|
|
default-run = "cloud-hypervisor"
|
2020-02-12 21:11:03 -08:00
|
|
|
build = "build.rs"
|
2019-02-21 17:04:44 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2019-12-31 10:49:11 +00:00
|
|
|
arc-swap = ">=0.4.4"
|
2020-05-11 17:49:21 +00:00
|
|
|
clap = { version = "2.33.1", features=["wrap_help"] }
|
2019-11-08 17:49:51 +00:00
|
|
|
epoll = ">=4.0.1"
|
2020-05-08 23:34:07 +00:00
|
|
|
futures = { version = "0.3.5", features = ["thread-pool"] }
|
2019-08-26 01:05:43 +00:00
|
|
|
lazy_static = "1.4.0"
|
2020-05-26 15:44:29 +00:00
|
|
|
libc = "0.2.71"
|
2020-03-13 15:01:27 +00:00
|
|
|
log = { version = "0.4.8", features = ["std"] }
|
2020-03-20 15:57:17 +01:00
|
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.21.1" }
|
2020-03-10 11:34:27 +00:00
|
|
|
serde_json = ">=1.0.9"
|
2019-09-21 02:21:54 +08:00
|
|
|
vhost_user_backend = { path = "vhost_user_backend"}
|
2020-01-20 16:10:21 +00:00
|
|
|
vhost_user_block = { path = "vhost_user_block"}
|
2019-10-31 10:16:28 -07:00
|
|
|
vhost_user_fs = { path = "vhost_user_fs"}
|
2020-01-20 16:10:21 +00:00
|
|
|
vhost_user_net = { path = "vhost_user_net"}
|
2020-05-20 11:13:06 +01:00
|
|
|
virtio-bindings = { version = "0.1", features = ["virtio-v5_0_0"]}
|
2019-06-03 16:40:09 +02:00
|
|
|
vmm = { path = "vmm" }
|
2019-10-07 09:57:19 -07:00
|
|
|
vm-device = { path = "vm-device" }
|
2020-05-28 15:06:54 +00:00
|
|
|
vm-memory = "0.2.1"
|
2020-06-10 09:43:20 +00:00
|
|
|
vmm-sys-util = "0.6.1"
|
2019-09-21 02:21:54 +08:00
|
|
|
vm-virtio = { path = "vm-virtio" }
|
2020-02-25 11:26:35 +08:00
|
|
|
vhost_rs = { git = "https://github.com/cloud-hypervisor/vhost", branch = "dragonball", package = "vhost", features = ["vhost-user-slave"] }
|
2019-05-23 16:45:13 +01:00
|
|
|
|
2020-06-09 14:35:41 +01:00
|
|
|
[patch.crates-io]
|
|
|
|
vm-memory = { git = "https://github.com/cloud-hypervisor/vm-memory", branch = "ch" }
|
|
|
|
|
2019-05-23 16:45:13 +01:00
|
|
|
[dev-dependencies]
|
2020-05-04 07:28:39 +00:00
|
|
|
ssh2 = "0.8.1"
|
2019-08-02 07:51:51 +00:00
|
|
|
dirs = "2.0.2"
|
2019-06-04 16:24:39 +01:00
|
|
|
credibility = "0.1.3"
|
2019-08-02 12:02:17 +01:00
|
|
|
tempdir= "0.3.7"
|
2019-08-26 01:05:43 +00:00
|
|
|
lazy_static= "1.4.0"
|
2020-03-19 10:48:17 +00:00
|
|
|
tempfile = "3.1.0"
|
2020-02-17 15:28:24 +01:00
|
|
|
serde_json = ">=1.0.9"
|
2020-05-15 10:19:51 +01:00
|
|
|
net_util = { path = "net_util" }
|
2019-05-23 16:45:13 +01:00
|
|
|
|
|
|
|
[features]
|
2019-10-02 15:21:54 +01:00
|
|
|
default = ["acpi", "pci", "cmos"]
|
2019-09-05 16:29:55 +01:00
|
|
|
acpi = ["vmm/acpi"]
|
2019-09-11 17:07:33 +01:00
|
|
|
pci = ["vmm/pci_support"]
|
2019-09-11 17:25:07 +01:00
|
|
|
mmio = ["vmm/mmio_support"]
|
2019-10-02 15:21:54 +01:00
|
|
|
cmos = ["vmm/cmos"]
|
2020-04-17 10:39:28 +01:00
|
|
|
fwdebug = ["vmm/fwdebug"]
|
2019-05-23 16:45:13 +01:00
|
|
|
|
|
|
|
# Integration tests require a special environment to run in
|
|
|
|
integration_tests = []
|
2019-07-16 10:54:33 +01:00
|
|
|
|
|
|
|
[workspace]
|
2019-09-26 19:32:24 +08:00
|
|
|
members = [
|
2020-01-02 18:40:37 +00:00
|
|
|
"arch",
|
|
|
|
"devices",
|
|
|
|
"qcow",
|
|
|
|
"pci",
|
|
|
|
"vmm",
|
|
|
|
"vm-virtio",
|
|
|
|
"vm-device",
|
2019-05-02 00:59:51 +08:00
|
|
|
"vm-migration",
|
2020-01-20 16:10:21 +00:00
|
|
|
"vhost_user_block",
|
2019-09-26 19:32:24 +08:00
|
|
|
"vhost_user_backend",
|
2020-01-02 18:40:37 +00:00
|
|
|
"vhost_user_fs",
|
2020-01-20 16:10:21 +00:00
|
|
|
"vhost_user_net",
|
2020-01-02 18:40:37 +00:00
|
|
|
"net_util",
|
|
|
|
"acpi_tables",
|
|
|
|
"arch_gen",
|
|
|
|
"net_gen",
|
|
|
|
"vm-allocator",
|
2019-09-26 19:32:24 +08:00
|
|
|
]
|