vhost_user_block: Move binary into vhost_user_block crate

The binary is still built in the same location but the source code and
the dependencies for it come from the vhost_user_block crate itself.

The binary will be built with:

`cargo build --all --bin vhost_user_block` or just `cargo build --all`

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-07-03 15:14:36 +01:00 committed by Samuel Ortiz
parent 6959d27e8c
commit 72802b34cd
3 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -1430,7 +1430,7 @@ dependencies = [
name = "vhost_user_block"
version = "0.1.0"
dependencies = [
"bitflags 1.2.1",
"clap",
"epoll",
"libc",
"log 0.4.8",

View File

@ -5,7 +5,7 @@ authors = ["The Cloud Hypervisor Authors"]
edition = "2018"
[dependencies]
bitflags = "1.1.0"
clap = { version = "2.33.1", features=["wrap_help"] }
epoll = ">=4.0.1"
libc = "0.2.71"
log = "0.4.8"