Skip to content

Commit

Permalink
Update minimum supported Rust version to 1.60.0
Browse files Browse the repository at this point in the history
This change updates the minimum version of Rust that we support to
1.60.0. We need this version because it is a requirement for env_logger
version 0.10, to which we would like to update subsequently. In the
process we switch the crate over to using Rust edition 2021.
  • Loading branch information
d-e-s-o committed Dec 5, 2023
1 parent cbcdb8c commit 7a1bae5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
with:
# Please adjust README and rust-version field in Cargo.toml files when
# bumping version.
toolchain: 1.56
toolchain: 1.60
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --locked --all-features
run: cargo build --frozen --all-features
rustfmt:
name: Check code formatting
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Unreleased
- Introduced `default_log_filter` attribute for setting the default log
filter on a per-test basis behind new `unstable` feature
- Improved compile error output on wrong usage
- Bumped minimum supported Rust version to `1.60`


0.2.13
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "test-log"
version = "0.2.13"
authors = ["Daniel Mueller <deso@posteo.net>"]
edition = "2018"
rust-version = "1.56"
edition = "2021"
rust-version = "1.60"
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/d-e-s-o/test-log"
repository = "https://github.com/d-e-s-o/test-log.git"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![pipeline](https://github.com/d-e-s-o/test-log/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/d-e-s-o/test-log/actions/workflows/test.yml)
[![crates.io](https://img.shields.io/crates/v/test-log.svg)](https://crates.io/crates/test-log)
[![Docs](https://docs.rs/test-log/badge.svg)](https://docs.rs/test-log)
[![rustc](https://img.shields.io/badge/rustc-1.56+-blue.svg)](https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html)
[![rustc](https://img.shields.io/badge/rustc-1.60+-blue.svg)](https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html)

test-log
========
Expand Down

0 comments on commit 7a1bae5

Please sign in to comment.