diff --git a/Cargo.toml b/Cargo.toml index 93765ba71..4c4ad78e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,6 +41,14 @@ members = [ "vmm", ] package.edition = "2024" +# Minimum buildable version: +# Keep in sync with version in .github/workflows/build.yaml +# Policy on MSRV (see #4318): +# Can only be bumped if satisfying any of the following: +# a.) A dependency requires it, +# b.) If we want to use a new feature and that MSRV is at least 6 months old, +# c.) There is a security issue that is addressed by the toolchain update. +package.rust-version = "1.89.0" resolver = "3" [workspace.dependencies] diff --git a/api_client/Cargo.toml b/api_client/Cargo.toml index 93a7836fc..1ab0e5862 100644 --- a/api_client/Cargo.toml +++ b/api_client/Cargo.toml @@ -3,6 +3,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true license = "Apache-2.0" name = "api_client" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/arch/Cargo.toml b/arch/Cargo.toml index 804be793d..2e30b9e53 100644 --- a/arch/Cargo.toml +++ b/arch/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Chromium OS Authors"] edition.workspace = true name = "arch" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/block/Cargo.toml b/block/Cargo.toml index 70a731a73..ab62c2308 100644 --- a/block/Cargo.toml +++ b/block/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Chromium OS Authors", "The Cloud Hypervisor Authors"] edition.workspace = true name = "block" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/cloud-hypervisor/Cargo.toml b/cloud-hypervisor/Cargo.toml index d69773e74..8259b716f 100644 --- a/cloud-hypervisor/Cargo.toml +++ b/cloud-hypervisor/Cargo.toml @@ -7,15 +7,8 @@ edition = "2024" homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor" license = "Apache-2.0 AND BSD-3-Clause" name = "cloud-hypervisor" +rust-version.workspace = true version = "51.0.0" -# Minimum buildable version: -# Keep in sync with version in .github/workflows/build.yaml -# Policy on MSRV (see #4318): -# Can only be bumped if satisfying any of the following: -# a.) A dependency requires it, -# b.) If we want to use a new feature and that MSRV is at least 6 months old, -# c.) There is a security issue that is addressed by the toolchain update. -rust-version = "1.89.0" [dependencies] anyhow = { workspace = true } diff --git a/devices/Cargo.toml b/devices/Cargo.toml index 06c99a167..af4d7b73c 100644 --- a/devices/Cargo.toml +++ b/devices/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Chromium OS Authors"] edition.workspace = true name = "devices" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/event_monitor/Cargo.toml b/event_monitor/Cargo.toml index 18ac2567c..ee52a7fd3 100644 --- a/event_monitor/Cargo.toml +++ b/event_monitor/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "event_monitor" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/hypervisor/Cargo.toml b/hypervisor/Cargo.toml index e18f9ba39..707779fef 100644 --- a/hypervisor/Cargo.toml +++ b/hypervisor/Cargo.toml @@ -3,6 +3,7 @@ authors = ["Microsoft Authors"] edition.workspace = true license = "Apache-2.0 OR BSD-3-Clause" name = "hypervisor" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/net_gen/Cargo.toml b/net_gen/Cargo.toml index a99c7c995..dfbcee2af 100644 --- a/net_gen/Cargo.toml +++ b/net_gen/Cargo.toml @@ -3,6 +3,7 @@ authors = ["The Chromium OS Authors"] edition = "2021" #edition.workspace = true name = "net_gen" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/net_util/Cargo.toml b/net_util/Cargo.toml index 9f124cf61..fccb89320 100644 --- a/net_util/Cargo.toml +++ b/net_util/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Chromium OS Authors"] edition.workspace = true name = "net_util" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/option_parser/Cargo.toml b/option_parser/Cargo.toml index 3d76690b4..54c77e296 100644 --- a/option_parser/Cargo.toml +++ b/option_parser/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "option_parser" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/pci/Cargo.toml b/pci/Cargo.toml index 760baae03..c1b69f985 100644 --- a/pci/Cargo.toml +++ b/pci/Cargo.toml @@ -2,6 +2,7 @@ authors = ["Samuel Ortiz "] edition.workspace = true name = "pci" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/rate_limiter/Cargo.toml b/rate_limiter/Cargo.toml index 206ec7b7f..2d32e8a25 100644 --- a/rate_limiter/Cargo.toml +++ b/rate_limiter/Cargo.toml @@ -1,6 +1,7 @@ [package] edition.workspace = true name = "rate_limiter" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/serial_buffer/Cargo.toml b/serial_buffer/Cargo.toml index 767c8a97f..89766d5e8 100644 --- a/serial_buffer/Cargo.toml +++ b/serial_buffer/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "serial_buffer" +rust-version.workspace = true version = "0.1.0" [lints] diff --git a/test_infra/Cargo.toml b/test_infra/Cargo.toml index 6c53e9ca0..b5854521a 100644 --- a/test_infra/Cargo.toml +++ b/test_infra/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "test_infra" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/tpm/Cargo.toml b/tpm/Cargo.toml index 82dc8f79b..5d6bba1a0 100644 --- a/tpm/Cargo.toml +++ b/tpm/Cargo.toml @@ -3,6 +3,7 @@ authors = ["Microsoft Authors"] edition = "2021" license = "Apache-2.0" name = "tpm" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/tracer/Cargo.toml b/tracer/Cargo.toml index 1ac9f4e39..64f339990 100644 --- a/tracer/Cargo.toml +++ b/tracer/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "tracer" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/virtio-devices/Cargo.toml b/virtio-devices/Cargo.toml index 5cbfe145f..41b9da8e0 100644 --- a/virtio-devices/Cargo.toml +++ b/virtio-devices/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "virtio-devices" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/vm-allocator/Cargo.toml b/vm-allocator/Cargo.toml index a4996d6dc..382647931 100644 --- a/vm-allocator/Cargo.toml +++ b/vm-allocator/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Chromium OS Authors"] edition.workspace = true name = "vm-allocator" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/vm-device/Cargo.toml b/vm-device/Cargo.toml index a57ea57f5..358ffc743 100644 --- a/vm-device/Cargo.toml +++ b/vm-device/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "vm-device" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/vm-migration/Cargo.toml b/vm-migration/Cargo.toml index b17475065..66b4e4f6a 100644 --- a/vm-migration/Cargo.toml +++ b/vm-migration/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "vm-migration" +rust-version.workspace = true version = "0.1.0" [dependencies] diff --git a/vm-virtio/Cargo.toml b/vm-virtio/Cargo.toml index 228f55241..de90b209d 100644 --- a/vm-virtio/Cargo.toml +++ b/vm-virtio/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "vm-virtio" +rust-version.workspace = true version = "0.1.0" [features] diff --git a/vmm/Cargo.toml b/vmm/Cargo.toml index 43b1de14b..35fe31429 100644 --- a/vmm/Cargo.toml +++ b/vmm/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Cloud Hypervisor Authors"] edition.workspace = true name = "vmm" +rust-version.workspace = true version = "0.1.0" [features]