[package]
name = "vhost"
version = "0.1.0"
keywords = ["vhost", "vhost-user", "virtio", "vdpa"]
description = "a pure rust library for vdpa, vhost and vhost-user"
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
repository = "https://github.com/rust-vmm/vhost"
documentation = "https://docs.rs/vhost"
readme = "README.md"
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.6", optional = true }

[dev-dependencies]
tempfile = ">=3.2.0"
vm-memory = { version = "0.6", features=["backend-mmap"] }

[package]
name = "vhost"
version = "0.1.0"
keywords = ["vhost", "vhost-user", "virtio", "vdpa"]
description = "a pure rust library for vdpa, vhost and vhost-user"
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
repository = "https://github.com/rust-vmm/vhost"
documentation = "https://docs.rs/vhost"
readme = "README.md"
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.6", optional = true }

[dev-dependencies]
tempfile = ">=3.2.0"
vm-memory = { version = "0.6", features=["backend-mmap"] }

Fix an error in license statement
Fix an error in license statement

"Apache-2.0 or BSD-3-Clause" is not an valid license statement and is
rejected by cargo. So change it to "Apache-2.0 OR BSD-3-Clause".

Signed-off-by: Liu Jiang <aaf6961e30ae80fd3a577c4cb6742ab6a1ad13eb@linux.alibaba.com>
