diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c020143f..3360f69c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index 0fbd6b13d..53ea06515 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,9 +2,9 @@ name = "deltachat" version = "1.76.0" authors = ["Delta Chat Developers (ML) "] -edition = "2018" +edition = "2021" license = "MPL-2.0" -resolver = "2" +rust-version = "1.56" [profile.dev] debug = 0 diff --git a/rust-toolchain b/rust-toolchain index b7921ae87..bb120e876 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.54.0 +1.59.0 diff --git a/scripts/docker-coredeps-arm64/deps/build_rust.sh b/scripts/docker-coredeps-arm64/deps/build_rust.sh index 670dffb06..9d74ed91b 100755 --- a/scripts/docker-coredeps-arm64/deps/build_rust.sh +++ b/scripts/docker-coredeps-arm64/deps/build_rust.sh @@ -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" diff --git a/scripts/docker-coredeps/deps/build_rust.sh b/scripts/docker-coredeps/deps/build_rust.sh index 670dffb06..9d74ed91b 100755 --- a/scripts/docker-coredeps/deps/build_rust.sh +++ b/scripts/docker-coredeps/deps/build_rust.sh @@ -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"