From 95a70084c7208ef84265f8420082064613c15818 Mon Sep 17 00:00:00 2001 From: konsti Date: Fri, 22 Mar 2024 19:45:16 +0100 Subject: [PATCH] Update minimum rust version (cargo) to 1.76 (#2618) This should address (fix?) #2442, it blocks building with a version that doesn't support return type impl trait. ``` $ cargo +1.74 check error: package `pep508_rs v0.4.2 (/home/konsti/projects/uv/crates/pep508-rs)` cannot be built because it requires rustc 1.76 or newer, while the currently active rustc version is 1.74.1 ``` While we should encourage our dependencies to set a msrv, if we set our rust-toolchain.toml version as cargo msrv our users on no-wheel no-installer platforms will also be fine (or at least get helpful error messages). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2fdc0cb5d..0fcf6e630 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ resolver = "2" [workspace.package] edition = "2021" -rust-version = "1.74" +rust-version = "1.76" homepage = "https://pypi.org/project/uv/" documentation = "https://pypi.org/project/uv/" repository = "https://github.com/astral-sh/uv"