From 3a7097948308981204132a0eed2d28338f9d6b33 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sat, 9 Dec 2023 18:01:12 +0200 Subject: [PATCH] Update minimum rust version from 1.65.0 to 1.68.2 Found with `cargo msrv --bisect --min 1.67.0` Signed-off-by: Manos Pitsidianakis --- Makefile | 4 ++-- README.md | 2 +- meli/Cargo.toml | 2 +- melib/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 50b11fa6..b1aacb5d 100644 --- a/Makefile +++ b/Makefile @@ -19,13 +19,12 @@ .POSIX: .SUFFIXES: CARGO_TARGET_DIR ?= target -MIN_RUSTC ?= 1.65.0 CARGO_BIN ?= cargo TAGREF_BIN ?= tagref CARGO_ARGS ?= RUSTFLAGS ?= -D warnings -W unreachable-pub -W rust-2021-compatibility CARGO_SORT_BIN = cargo-sort -PRINTF = /usr/bin/printf +PRINTF = /usr/bin/printf # Options PREFIX ?= /usr/local @@ -40,6 +39,7 @@ FEATURES ?= --features "${MELI_FEATURES}" MANPATHS != ACCUM="";for m in `manpath 2> /dev/null | tr ':' ' '`; do if [ -d "$${m}" ]; then REAL_PATH=`cd $${m} && pwd` ACCUM="$${ACCUM}:$${REAL_PATH}";fi;done;echo $${ACCUM}'\c' | sed 's/^://' VERSION = `grep -m1 version meli/Cargo.toml | head -n1 | cut -d'"' -f 2 | head -n1` +MIN_RUSTC = `grep -m1 rust-version meli/Cargo.toml | head -n1 | cut -d'"' -f 2 | head -n1` GIT_COMMIT = `git show-ref -s --abbrev HEAD` DATE = `date -I` diff --git a/README.md b/README.md index dad488e3..6f68a4fe 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ For a quick start, build and install locally: Available subcommands for `make` are listed with `make help`. The Makefile *should* be POSIX portable and not require a specific `make` version. -`meli` requires rust 1.65 and rust's package manager, Cargo. +`meli` requires rust version 1.68.2 or later and rust's package manager, Cargo. Information on how to get it on your system can be found here: With Cargo available, the project can be built with `make` and the resulting binary will then be found under `target/release/meli`. diff --git a/meli/Cargo.toml b/meli/Cargo.toml index 60447d64..acd26249 100644 --- a/meli/Cargo.toml +++ b/meli/Cargo.toml @@ -3,7 +3,7 @@ name = "meli" version = "0.8.5-rc.2" authors = ["Manos Pitsidianakis "] edition = "2021" -rust-version = "1.65.0" +rust-version = "1.68.2" license = "GPL-3.0-or-later" readme = "README.md" description = "terminal e-mail client" diff --git a/melib/Cargo.toml b/melib/Cargo.toml index db253733..76089dc9 100644 --- a/melib/Cargo.toml +++ b/melib/Cargo.toml @@ -4,7 +4,7 @@ version = "0.8.5-rc.2" authors = ["Manos Pitsidianakis "] edition = "2021" build = "build.rs" -rust-version = "1.65.0" +rust-version = "1.68.2" homepage = "https://meli.delivery" repository = "https://git.meli.delivery/meli/meli.git"