Update MSRV to 1.56 and current version to 1.59

This is needed to support Rust 2021 edition required by the latest versions of `ed25519` and `image` crates.
This commit is contained in:
link2xt
2022-03-13 12:45:50 +00:00
committed by Floris Bruynooghe
parent 799688af76
commit a997322efb
5 changed files with 9 additions and 9 deletions

View File

@@ -77,19 +77,19 @@ jobs:
include:
# Currently used Rust version, same as in `rust-toolchain` file.
- os: ubuntu-latest
rust: 1.54.0
rust: 1.59.0
python: 3.9
- os: windows-latest
rust: 1.54.0
rust: 1.59.0
python: false # Python bindings compilation on Windows is not supported.
# Minimum Supported Rust Version = 1.51.0
# Minimum Supported Rust Version = 1.56.0
#
# Minimum Supported Python Version = 3.7
# This is the minimum version for which manylinux Python wheels are
# built.
- os: ubuntu-latest
rust: 1.51.0
rust: 1.56.0
python: 3.7
runs-on: ${{ matrix.os }}
steps:

View File

@@ -2,9 +2,9 @@
name = "deltachat"
version = "1.76.0"
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
edition = "2018"
edition = "2021"
license = "MPL-2.0"
resolver = "2"
rust-version = "1.56"
[profile.dev]
debug = 0

View File

@@ -1 +1 @@
1.54.0
1.59.0

View File

@@ -8,7 +8,7 @@ set -e -x
#
# Avoid using rustup here as it depends on reading /proc/self/exe and
# has problems running under QEMU.
RUST_VERSION=1.54.0
RUST_VERSION=1.59.0
curl "https://static.rust-lang.org/dist/rust-${RUST_VERSION}-$(uname -m)-unknown-linux-gnu.tar.gz" | tar xz
cd "rust-${RUST_VERSION}-$(uname -m)-unknown-linux-gnu"

View File

@@ -8,7 +8,7 @@ set -e -x
#
# Avoid using rustup here as it depends on reading /proc/self/exe and
# has problems running under QEMU.
RUST_VERSION=1.54.0
RUST_VERSION=1.59.0
curl "https://static.rust-lang.org/dist/rust-${RUST_VERSION}-$(uname -m)-unknown-linux-gnu.tar.gz" | tar xz
cd "rust-${RUST_VERSION}-$(uname -m)-unknown-linux-gnu"