# 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" rust-version = "1.63" name = "virtio-driver" version = "0.6.1" authors = ["Kevin Wolf "] description = "virtio driver development library" keywords = [ "virtio", "driver", "user-space", ] categories = [ "hardware-support", "virtualization", ] license = "(MIT OR Apache-2.0) AND BSD-3-Clause" [dependencies.bitflags] version = "1.2" [dependencies.libc] version = "0.2" [dependencies.memmap2] version = "<0.10" optional = true [dependencies.pci-driver] version = "0.1.2" optional = true default-features = false [dependencies.rustix] version = "0.38" features = ["event"] [dependencies.virtio-bindings] version = "0.2" optional = true [features] default = [] pci = ["pci-driver"] vhost-user = [ "memmap2", "rustix/fs", ] vhost-vdpa = [ "memmap2", "rustix/fs", "virtio-bindings", ]