From 256a3e252e2e4db9af9a04c7df1a52eeaf2bbfc9 Mon Sep 17 00:00:00 2001 From: cos Date: Tue, 24 Jan 2023 08:18:51 +0100 Subject: [PATCH] Update minimum supported rust version Code requires label_break_value feature, which was [stabilized][0] in release 1.65.0 of the toolchain. [0]: https://github.com/rust-lang/rust/pull/99332 --- Cargo.toml | 1 + README.md | 2 +- melib/Cargo.toml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9f027db9..6a958ac0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "meli" version = "0.7.2" authors = ["Manos Pitsidianakis "] edition = "2018" +rust-version = "1.65.0" license = "GPL-3.0-or-later" readme = "README.md" diff --git a/README.md b/README.md index 8ed153a9..6c30d299 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,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.39 and rust's package manager, Cargo. Information on how +`meli` requires rust 1.65 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`. Run `make install` to install the binary and man pages. This requires root, so I suggest you override the default paths and install it in your `$HOME`: `make PREFIX=$HOME/.local install`. diff --git a/melib/Cargo.toml b/melib/Cargo.toml index 1399b2bf..ed0c64c1 100644 --- a/melib/Cargo.toml +++ b/melib/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Manos Pitsidianakis "] workspace = ".." edition = "2018" build = "build.rs" +rust-version = "1.65.0" homepage = "https://meli.delivery" repository = "https://git.meli.delivery/meli/meli.git"