summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2023-03-14 18:38:12 -0600
committerFederico Mena Quintero <federico@gnome.org>2023-03-14 19:03:49 -0600
commit4f9d534c82f158a49e1d7e706d8c7b90321efd4c (patch)
treeca96288b9e839db51c073df30f024f6234f5fec1
parent602fcb781459e31e9cf2e70659d8eb8b130f9c2a (diff)
downloadlibrsvg-4f9d534c82f158a49e1d7e706d8c7b90321efd4c.tar.gz
Bump the MSRV to 1.60 for assert_cmd and predicates
-rw-r--r--COMPILING.md2
-rw-r--r--Cargo.toml2
-rw-r--r--NEWS3
-rw-r--r--ci/container_builds.yml4
-rw-r--r--configure.ac2
5 files changed, 8 insertions, 5 deletions
diff --git a/COMPILING.md b/COMPILING.md
index 747bd949..a38adee2 100644
--- a/COMPILING.md
+++ b/COMPILING.md
@@ -31,7 +31,7 @@ minimum version is listed here; you may use a newer version instead.
**Compilers:**
* a C compiler and `make` tool; we recommend GNU `make`.
-* rust 1.58 or later
+* rust 1.60 or later
* cargo
**Mandatory dependencies:**
diff --git a/Cargo.toml b/Cargo.toml
index 29006bd2..fee69ad7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ homepage = "https://wiki.gnome.org/Projects/LibRsvg"
repository = "https://gitlab.gnome.org/GNOME/librsvg/"
build = "build.rs"
edition = "2021"
-rust-version = "1.58"
+rust-version = "1.60"
[package.metadata.system-deps]
cairo-pdf = { version = "1.16", optional = true }
diff --git a/NEWS b/NEWS
index 9a90bb29..e7b10467 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ Version 2.55.2
- #942: Fix crash when XML files get recursively included through
XInclude. Thanks to Stefan Schiller for catching this.
+- The Minimum Supported Rust Version (MSRV) is now Rust 1.60. Several
+ dependencies have bumped their MSRV on their own, unfortunately.
+
Version 2.55.1
==============
diff --git a/ci/container_builds.yml b/ci/container_builds.yml
index 1d7ba0bc..b922da78 100644
--- a/ci/container_builds.yml
+++ b/ci/container_builds.yml
@@ -6,9 +6,9 @@ include:
variables:
# When branching change the suffix to avoid conflicts with images
# from the main branch
- BASE_TAG: "2022-09-06.0-librsvg-2.55"
+ BASE_TAG: "2023-03-14.0-librsvg-2.55"
RUST_STABLE: "1.60.0"
- RUST_MINIMUM: "1.58.1"
+ RUST_MINIMUM: "1.60.0"
.container.opensuse@common:
stage: "container-build"
diff --git a/configure.ac b/configure.ac
index b4cb8783..9e7da640 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,7 @@ AS_IF(test x$RUSTC = xno,
dnl MSRV - Minimum Supported Rust Version
dnl If you change this, please update COMPILING.md
-MINIMUM_RUST_VER=1.58
+MINIMUM_RUST_VER=1.60
rust_version=`$RUSTC --version | sed -e 's/^rustc //g'`
AX_COMPARE_VERSION([$rust_version],[lt],[$MINIMUM_RUST_VER], [
AC_MSG_ERROR([librsvg needs at least rustc version $MINIMUM_RUST_VER])