From 6f90a9d0abbd60caa1fd9a21740c9a56b0a57d57 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Fri, 2 Feb 2024 17:14:09 +0100 Subject: [PATCH] Cargo: bump MSRV to 1.71 Our dependency `env_logger` suffers from a bug in versions of Cargo older than 1.71, fixed by https://github.com/rust-lang/cargo/pull/12130 (the one we suffered from before the "Cargo: don't let feature "static" pull xenstore-rs unless "xenstore" is set" fix). Note that some of our dependencies already required 1.70 or later. Signed-off-by: Yann Dirson --- Cargo.toml | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fa119c6..f861aa8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "xen-guest-agent" version = "0.5.0-dev" authors = ["Yann Dirson "] edition = "2018" -rust-version = "1.64" +rust-version = "1.71" license = "AGPL-3.0-only" [dependencies] diff --git a/README.md b/README.md index 256ef57..bd98eb6 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,7 @@ Some features to consider (from `xe-guest-utilities`): ### Build requirements -You need a Rust toolchain. Some of our dependencies require Rust -1.70 or later. +You need a Rust 1.71 toolchain or later. Since the Cargo tool cannot be told about non-Rust dependencies, you have to install manually on your build machine: -- 2.39.5