| # 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 = "2021" |
| name = "vhost" |
| version = "0.13.0" |
| authors = ["Liu Jiang <gerry@linux.alibaba.com>"] |
| build = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| 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 |
| |
| [lib] |
| name = "vhost" |
| path = "src/lib.rs" |
| |
| [dependencies.bitflags] |
| version = "2.4" |
| |
| [dependencies.libc] |
| version = "0.2.39" |
| |
| [dependencies.uuid] |
| version = "1.8.0" |
| features = [ |
| "v4", |
| "fast-rng", |
| "macro-diagnostics", |
| ] |
| |
| [dependencies.vm-memory] |
| version = "0.16.0" |
| features = ["backend-mmap"] |
| |
| [dependencies.vmm-sys-util] |
| version = "0.12.1" |
| |
| [dev-dependencies.serial_test] |
| version = "3.0" |
| |
| [dev-dependencies.tempfile] |
| version = "3.2.0" |
| |
| [features] |
| default = [] |
| postcopy = [] |
| test-utils = [] |
| vhost-kern = [] |
| vhost-net = ["vhost-kern"] |
| vhost-user = [] |
| vhost-user-backend = ["vhost-user"] |
| vhost-user-frontend = ["vhost-user"] |
| vhost-vdpa = ["vhost-kern"] |
| vhost-vsock = [] |
| xen = ["vm-memory/xen"] |