mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 15:31:15 +00:00
Rust 2021 edition has a few improvements over the 2018 edition. Migrate the project to 2021 edition by following recommended migration steps. Luckily, the code itself doesn't require fixing. Bump MSRV to 1.56 as it is required by the 2021 edition. Also fix the clap build dependency to make Cloud Hypervisor build again. Signed-off-by: Wei Liu <liuwe@microsoft.com>
15 lines
355 B
TOML
15 lines
355 B
TOML
[package]
|
|
name = "vm-virtio"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dependencies]
|
|
log = "0.4.16"
|
|
virtio-bindings = { version = "0.1.0", features = ["virtio-v5_0_0"] }
|
|
virtio-queue = "0.2.0"
|
|
vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|