| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2018" |
| name = "vhost" |
| version = "0.8.1" |
| authors = ["Liu Jiang <[email protected]>"] |
| description = "a pure rust library for vdpa, vhost and vhost-user" |
| documentation = "https://docs.rs/vhost" |
| readme = "README.md" |
| keywords = [ |
| "vhost", |
| "vhost-user", |
| "virtio", |
| "vdpa", |
| ] |
| license = "Apache-2.0 OR BSD-3-Clause" |
| repository = "https://github.com/rust-vmm/vhost" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| |
| [dependencies.bitflags] |
| version = "1.0" |
| |
| [dependencies.libc] |
| version = "0.2.39" |
| |
| [dependencies.vm-memory] |
| version = "0.12.0" |
| features = ["backend-mmap"] |
| |
| [dependencies.vmm-sys-util] |
| version = "0.11.0" |
| |
| [dev-dependencies.serial_test] |
| version = "0.5" |
| |
| [dev-dependencies.tempfile] |
| version = "3.2.0" |
| |
| [features] |
| default = [] |
| test-utils = [] |
| vhost-kern = [] |
| vhost-net = ["vhost-kern"] |
| vhost-user = [] |
| vhost-user-master = ["vhost-user"] |
| vhost-user-slave = ["vhost-user"] |
| vhost-vdpa = ["vhost-kern"] |
| vhost-vsock = [] |
| xen = ["vm-memory/xen"] |