From b566a708781454bdcf3f90e58ce146dd8db5fa93 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 7 Jul 2023 07:28:47 -0400 Subject: [PATCH] msrv: bump to Rust 1.70 We also set `rust-version` in `Cargo.toml`. --- .github/workflows/ci.yml | 6 +++--- ucd-parse/Cargo.toml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7eabc1..47ba048 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: include: - build: pinned os: ubuntu-latest - rust: 1.62.0 + rust: 1.70.0 - build: stable os: ubuntu-latest rust: stable @@ -33,7 +33,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Install Rust - uses: dtolnay/rust-toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - run: cargo build --all --verbose @@ -49,7 +49,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Install Rust - uses: dtolnay/rust-toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: stable components: rustfmt diff --git a/ucd-parse/Cargo.toml b/ucd-parse/Cargo.toml index 3e4d422..52d4a3c 100644 --- a/ucd-parse/Cargo.toml +++ b/ucd-parse/Cargo.toml @@ -11,7 +11,8 @@ repository = "https://github.com/BurntSushi/ucd-generate" readme = "README.md" keywords = ["unicode", "database", "character", "property"] license = "MIT OR Apache-2.0" -edition = "2018" +edition = "2021" +rust-version = "1.70" [dependencies] regex-lite = "0.1.0"