build: Remove unused dependencies from top-level Cargo.toml

With vhost_user_fs binary moved to its own crate the dependencies in the
top level can be trimmed significantly.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-07-03 15:26:53 +01:00 committed by Samuel Ortiz
parent d6a05ceabb
commit 7548283feb
2 changed files with 1 additions and 24 deletions

11
Cargo.lock generated
View File

@ -183,12 +183,9 @@ dependencies = [
name = "cloud-hypervisor"
version = "0.8.0"
dependencies = [
"arc-swap",
"clap",
"credibility",
"dirs",
"epoll",
"futures",
"hypervisor",
"lazy_static",
"libc",
@ -199,16 +196,8 @@ dependencies = [
"ssh2",
"tempdir",
"tempfile",
"vhost",
"vhost_user_backend",
"vhost_user_block",
"vhost_user_fs",
"vhost_user_net",
"virtio-bindings",
"virtio-devices",
"vm-device",
"vm-memory",
"vm-virtio",
"vmm",
"vmm-sys-util",
]

View File

@ -10,28 +10,16 @@ build = "build.rs"
lto = true
[dependencies]
arc-swap = ">=0.4.4"
clap = { version = "2.33.1", features=["wrap_help"] }
epoll = ">=4.0.1"
futures = { version = "0.3.5", features = ["thread-pool"] }
hypervisor = { path = "hypervisor" }
lazy_static = "1.4.0"
libc = "0.2.71"
log = { version = "0.4.8", features = ["std"] }
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.21.1" }
serde_json = ">=1.0.9"
vhost_user_backend = { path = "vhost_user_backend"}
vhost_user_block = { path = "vhost_user_block"}
vhost_user_fs = { path = "vhost_user_fs"}
vhost_user_net = { path = "vhost_user_net"}
virtio-bindings = { version = "0.1", features = ["virtio-v5_0_0"]}
virtio-devices = { path = "virtio-devices" }
vhost_rs = { git = "https://github.com/cloud-hypervisor/vhost", branch = "dragonball", package = "vhost", features = ["vhost-user-slave"] }
vmm = { path = "vmm" }
vmm-sys-util = "0.6.1"
vm-device = { path = "vm-device" }
vm-memory = "0.2.1"
vm-virtio = { path = "vm-virtio" }
[patch.crates-io]
vm-memory = { git = "https://github.com/cloud-hypervisor/vm-memory", branch = "ch" }
@ -40,7 +28,7 @@ vm-memory = { git = "https://github.com/cloud-hypervisor/vm-memory", branch = "c
ssh2 = "0.8.2"
dirs = "2.0.2"
credibility = "0.1.3"
tempdir= "0.3.7"
tempdir = "0.3.7"
lazy_static= "1.4.0"
tempfile = "3.1.0"
serde_json = ">=1.0.9"