# 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-device-sound" version = "0.2.0" authors = [ "Manos Pitsidianakis ", "Dorinda Bassey ", "Matias Ezequiel Vara Larsen ", ] description = "A virtio-sound device using the vhost-user protocol." readme = "README.md" keywords = [ "vhost", "sound", "virtio-sound", "virtio-snd", "virtio", ] categories = [ "multimedia::audio", "virtualization", ] license = "Apache-2.0 OR BSD-3-Clause" repository = "https://github.com/rust-vmm/vhost-device" resolver = "2" [dependencies.clap] version = "4.5" features = ["derive"] [dependencies.env_logger] version = "0.11" [dependencies.log] version = "0.4" [dependencies.thiserror] version = "1.0" [dependencies.vhost] version = "0.11" features = ["vhost-user-backend"] [dependencies.vhost-user-backend] version = "0.15" [dependencies.virtio-bindings] version = "0.2.1" [dependencies.virtio-queue] version = "0.12" [dependencies.vm-memory] version = "0.14.1" [dependencies.vmm-sys-util] version = "0.12" [dev-dependencies.rstest] version = "0.19.0" [dev-dependencies.tempfile] version = "3.10" [dev-dependencies.virtio-queue] version = "0.12" features = ["test-utils"] [dev-dependencies.vm-memory] version = "0.14.1" features = [ "backend-mmap", "backend-atomic", ] [features] alsa-backend = ["dep:alsa"] default = [ "alsa-backend", "pw-backend", ] pw-backend = ["pw"] xen = [ "vm-memory/xen", "vhost/xen", "vhost-user-backend/xen", ] [target."cfg(target_env = \"gnu\")".dependencies.alsa] version = "0.9" optional = true [target."cfg(target_env = \"gnu\")".dependencies.pw] version = "0.8" optional = true package = "pipewire"