From cf2d9c2c1d53212fb2bdd62939bbf8b50b68071b Mon Sep 17 00:00:00 2001 From: Florian Dehau Date: Sat, 22 Jan 2022 13:07:35 +0100 Subject: [PATCH] feat!: bump MSRV to 1.56.1 and migrate to edition 2021 --- .github/workflows/ci.yml | 8 +++----- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eee3180..4676b1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: name: CI env: - CI_CARGO_MAKE_VERSION: 0.35.6 + CI_CARGO_MAKE_VERSION: 0.35.8 jobs: linux: @@ -17,10 +17,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: ["1.52.1", "stable"] + rust: ["1.56.1", "stable"] steps: - - name: "Install dependencies" - run: sudo apt-get install libncurses5-dev - uses: hecrj/setup-rust-action@967aec96c6a27a0ce15c1dac3aaba332d60565e2 with: rust-version: ${{ matrix.rust }} @@ -47,7 +45,7 @@ jobs: runs-on: windows-latest strategy: matrix: - rust: ["1.52.1", "stable"] + rust: ["1.56.1", "stable"] steps: - uses: actions/checkout@v1 - uses: hecrj/setup-rust-action@967aec96c6a27a0ce15c1dac3aaba332d60565e2 diff --git a/Cargo.toml b/Cargo.toml index 925985e..cb2bd34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ readme = "README.md" license = "MIT" exclude = ["assets/*", ".github", "Makefile.toml", "CONTRIBUTING.md", "*.log", "tags"] autoexamples = true -edition = "2018" +edition = "2021" [badges] diff --git a/README.md b/README.md index 2835314..a906db0 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ you may rely on the previously cited libraries to achieve such features. ### Rust version requirements -Since version 0.17.0, `tui` requires **rustc version 1.52.1 or greater**. +Since version 0.17.0, `tui` requires **rustc version 1.56.1 or greater**. ### [Documentation](https://docs.rs/tui)