From 167ae5a78afb1e57f0f817cc794e01ffadc1fe79 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 642c21c68..e55f3dfa2 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]