mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 23:36:30 +03:00
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:
committed by
Floris Bruynooghe
parent
799688af76
commit
a997322efb
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -77,19 +77,19 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
# Currently used Rust version, same as in `rust-toolchain` file.
|
# Currently used Rust version, same as in `rust-toolchain` file.
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
rust: 1.54.0
|
rust: 1.59.0
|
||||||
python: 3.9
|
python: 3.9
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
rust: 1.54.0
|
rust: 1.59.0
|
||||||
python: false # Python bindings compilation on Windows is not supported.
|
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
|
# Minimum Supported Python Version = 3.7
|
||||||
# This is the minimum version for which manylinux Python wheels are
|
# This is the minimum version for which manylinux Python wheels are
|
||||||
# built.
|
# built.
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
rust: 1.51.0
|
rust: 1.56.0
|
||||||
python: 3.7
|
python: 3.7
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
name = "deltachat"
|
name = "deltachat"
|
||||||
version = "1.76.0"
|
version = "1.76.0"
|
||||||
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
resolver = "2"
|
rust-version = "1.56"
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
debug = 0
|
debug = 0
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.54.0
|
1.59.0
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ set -e -x
|
|||||||
#
|
#
|
||||||
# Avoid using rustup here as it depends on reading /proc/self/exe and
|
# Avoid using rustup here as it depends on reading /proc/self/exe and
|
||||||
# has problems running under QEMU.
|
# 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
|
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"
|
cd "rust-${RUST_VERSION}-$(uname -m)-unknown-linux-gnu"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ set -e -x
|
|||||||
#
|
#
|
||||||
# Avoid using rustup here as it depends on reading /proc/self/exe and
|
# Avoid using rustup here as it depends on reading /proc/self/exe and
|
||||||
# has problems running under QEMU.
|
# 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
|
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"
|
cd "rust-${RUST_VERSION}-$(uname -m)-unknown-linux-gnu"
|
||||||
|
|||||||
Reference in New Issue
Block a user