summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: b8609f51a3d4bc6749444e31a6f83d501c2f82e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[package]
name = "vhost"
version = "0.1.0"
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
repository = "https://github.com/rust-vmm/vhost"
license = "Apache-2.0 or BSD-3-Clause"
edition = "2018"

[features]
default = []
vhost-vsock = []
vhost-kern = ["vm-memory"]
vhost-user = []
vhost-user-master = ["vhost-user"]
vhost-user-slave = ["vhost-user"]

[dependencies]
bitflags = ">=1.0.1"
libc = ">=0.2.39"

vmm-sys-util = ">=0.3.1"
vm-memory = { version = "0.2.0", optional = true }

[dev-dependencies]
vm-memory = { version = "0.2.0", features=["backend-mmap"] }