A major improvement to the developer experience of clippy in Cloud Hypervisor. 1. Make `cargo clippy` just work with the same lints we use in CI 2. Simplify adding new lints Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
34 lines
947 B
TOML
34 lines
947 B
TOML
[package]
|
|
authors = ["Samuel Ortiz <sameo@linux.intel.com>"]
|
|
edition.workspace = true
|
|
name = "pci"
|
|
version = "0.1.0"
|
|
|
|
[features]
|
|
default = []
|
|
kvm = ["hypervisor/kvm", "vfio-ioctls/kvm"]
|
|
mshv = ["hypervisor/mshv", "vfio-ioctls/mshv"]
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = { workspace = true }
|
|
log = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
thiserror = { workspace = true }
|
|
vfio-bindings = { workspace = true, features = ["fam-wrappers"] }
|
|
vfio-ioctls = { workspace = true, default-features = false }
|
|
vfio_user = { workspace = true }
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { workspace = true, features = [
|
|
"backend-atomic",
|
|
"backend-bitmap",
|
|
"backend-mmap",
|
|
] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|