virtio-queue 0.18.0

virtio queue implementation
Documentation
[package]
name = "virtio-queue"
version = "0.18.0"
authors = ["The Chromium OS Authors"]
description = "virtio queue implementation"
repository = "https://github.com/rust-vmm/vm-virtio"
keywords = ["virtio"]
readme = "README.md"
license = "Apache-2.0 AND BSD-3-Clause"
edition = "2021"

[features]
test-utils = []

[dependencies]
vm-memory = { workspace = true }
vmm-sys-util = { workspace = true }
log = "0.4.17"
virtio-bindings = { path="../virtio-bindings", version = "0.2.6" }

[dev-dependencies]
criterion = "0.8.0"
vm-memory = { workspace = true, features = ["backend-mmap", "backend-atomic"] }
memoffset = "0.9.0"

[target.'cfg(kani)'.dependencies]
libc = "0.2.161"
vm-memory = { workspace = true, features = ["backend-mmap"] }

[[bench]]
name = "main"
harness = false

# From https://model-checking.github.io/kani/usage.html#configuration-in-cargotoml
#
# Starting with Rust 1.80 (or nightly-2024-05-05), every reachable #[cfg] will be automatically
# checked that they match the expected config names and values. To avoid warnings on
# cfg(kani), we recommend adding the check-cfg lint config in your crate's Cargo.toml
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }