From ee5792c0bb625d2bb336427b51c33d2c04851461 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 29 Nov 2022 16:04:10 +0000 Subject: [PATCH] build: Document the project's MSRV policy To me the most logical place to document the policy is right next to the version itself. Fixes: #4318 Signed-off-by: Rob Bradford --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4d8b093d3..7304f4d9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,11 @@ description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor" # Minimum buildable version: # Keep in sync with version in .github/workflows/build.yaml +# Policy on MSRV (see #4318): +# Can only be bumped by: +# 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.60" [profile.release]