[[bin]]
name = "vhost-device-vsock"
path = "src/main.rs"
[dependencies.byteorder]
version = "1"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.env_logger]
version = "0.11"
[dependencies.epoll]
version = "4.3.2"
[dependencies.figment]
features = ["yaml"]
version = "0.10.19"
[dependencies.libc]
optional = true
version = "0.2.174"
[dependencies.log]
version = "0.4"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.thiserror]
version = "2.0"
[dependencies.vhost]
features = ["vhost-user-backend"]
version = "0.14"
[dependencies.vhost-user-backend]
version = "0.20"
[dependencies.virtio-bindings]
version = "0.2.5"
[dependencies.virtio-queue]
version = "0.16"
[dependencies.virtio-vsock]
version = "0.10"
[dependencies.vm-memory]
version = "0.16.1"
[dependencies.vmm-sys-util]
version = "0.14"
[dependencies.vsock]
optional = true
version = "0.5.0"
[dev-dependencies.assert_matches]
version = "1.5"
[dev-dependencies.tempfile]
version = "3.20.0"
[dev-dependencies.virtio-queue]
features = ["test-utils"]
version = "0.16"
[features]
backend_vsock = ["vsock", "libc"]
default = ["backend_vsock"]
xen = ["vm-memory/xen", "vhost/xen", "vhost-user-backend/xen"]
[lints.clippy]
as_underscore = "deny"
assertions_on_result_states = "deny"
bool_to_int_with_if = "deny"
borrow_as_ptr = "deny"
case_sensitive_file_extension_comparisons = "deny"
cast_lossless = "deny"
cast_possible_wrap = "deny"
cast_ptr_alignment = "deny"
dbg_macro = "deny"
enum_glob_use = "deny"
missing_safety_doc = "deny"
naive_bytecount = "deny"
option_if_let_else = "allow"
ptr_as_ptr = "deny"
rc_buffer = "deny"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
undocumented_unsafe_blocks = "deny"
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"
redundant_explicit_links = "deny"
[package]
authors = ["Harshavardhan Unnibhavi <harshanavkis@gmail.com>", "Stefano Garzarella <sgarzare@redhat.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A virtio-vsock device using the vhost-user protocol."
edition = "2021"
keywords = ["vhost", "vsock"]
license = "Apache-2.0 OR BSD-3-Clause"
name = "vhost-device-vsock"
readme = "README.md"
repository = "https://github.com/rust-vmm/vhost-device"
version = "0.3.0"