diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c2d377f6b..670d42ac6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,11 +20,11 @@ jobs: tests: strategy: matrix: - rust_version: [1.66.0, stable] + rust_version: [1.67.0, stable] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Rust toolchain @@ -36,13 +36,6 @@ jobs: run: rustup default ${{ matrix.rust_version }} - name: print rustc version run: rustc --version - # remove this step when MSRV >= 1.67.0 - - name: downgrade `toml_edit`, time`, `toml_datetime` crate to support older Rust toolchain - if: matrix.rust_version == '1.66.0' - run: | - cargo update -p toml_edit --precise 0.20.2 - cargo update -p toml_datetime --precise 0.6.3 - cargo update -p time --precise 0.3.23 - name: Run tests run: ./.github/test.sh @@ -50,7 +43,7 @@ jobs: test_exhaustive_checks: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install nightly for exhaustive check tests uses: dtolnay/rust-toolchain@nightly # a failure on this check means, that some of `syn` crate's enums have been extended @@ -64,7 +57,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run clippy run: cargo clippy --features unstable__schema --benches -- -D clippy::all @@ -72,7 +65,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run cargo fmt run: cargo fmt --check @@ -83,7 +76,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: run cargo doc run: RUSTDOCFLAGS="-D warnings" cargo doc --features derive,unstable__schema @@ -93,7 +86,7 @@ jobs: if: github.ref == 'refs/heads/master' steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index 90c2c3f66..725317b3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,4 +4,4 @@ members = ["borsh", "borsh-derive", "fuzz/fuzz-run", "benchmarks"] [workspace.package] # shared version of all public crates in the workspace version = "1.3.0" -rust-version = "1.66.0" +rust-version = "1.67.0" diff --git a/README.md b/README.md index 96ff7fbfd..bb04fd5a1 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# Borsh in Rust   [![Latest Version]][crates.io] [![borsh: rustc 1.66+]][Rust 1.66] [![License Apache-2.0 badge]][License Apache-2.0] [![License MIT badge]][License MIT] +# Borsh in Rust   [![Latest Version]][crates.io] [![borsh: rustc 1.67+]][Rust 1.67] [![License Apache-2.0 badge]][License Apache-2.0] [![License MIT badge]][License MIT] [Borsh]: https://borsh.io [Latest Version]: https://img.shields.io/crates/v/borsh.svg [crates.io]: https://crates.io/crates/borsh -[borsh: rustc 1.66+]: https://img.shields.io/badge/rustc-1.66+-lightgray.svg -[Rust 1.66]: https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html +[borsh: rustc 1.67+]: https://img.shields.io/badge/rustc-1.67+-lightgray.svg +[Rust 1.67]: https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html [License Apache-2.0 badge]: https://img.shields.io/badge/license-Apache2.0-blue.svg [License Apache-2.0]: https://opensource.org/licenses/Apache-2.0 [License MIT badge]: https://img.shields.io/badge/license-MIT-blue.svg diff --git a/borsh-derive/Cargo.toml b/borsh-derive/Cargo.toml index 7e8c5a3ef..fb87bccf9 100644 --- a/borsh-derive/Cargo.toml +++ b/borsh-derive/Cargo.toml @@ -19,7 +19,7 @@ proc-macro = true [dependencies] syn = { version = "2", features = ["full", "fold"] } -proc-macro-crate = "2" +proc-macro-crate = "3" proc-macro2 = "1" quote = "1" once_cell = "1.18.0"