Skip to content

Commit 20871c9

Browse files
committed
Bump MSRV to 1.63
1 parent 7f43921 commit 20871c9

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
strategy:
2929
fail-fast: false # Even if one job fails we still want to see the other ones
3030
matrix:
31-
# 1.53 is MSRV. Keep in sync with Cargo.toml
32-
rust: [1.53, stable, nightly]
31+
# 1.63 is MSRV. Keep in sync with Cargo.toml
32+
rust: [1.63, stable, nightly]
3333
# NOTE: Features to test must be specified manually. They are applied to all versions seperately.
3434
#
3535
# This has the advantage of being more flexibile and thorough
@@ -47,5 +47,7 @@ jobs:
4747
# NOTE: We only run `cargo test`. No need for a seperate `cargo check`
4848
- name: Test
4949
run: |
50-
cargo test --verbose --features "${{ matrix.features }}"
50+
# Pin a time version with a compatible MSRV
51+
cargo update --package time --precise 0.3.20
52+
cargo test --locked --verbose --features "${{ matrix.features }}"
5153

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
<!-- next-url -->
88
## [Unreleased](https://github.com/slog-rs/term/compare/v2.8.1...HEAD) - ReleaseDate
9+
* Switch from `atty` to `is_terminal`
10+
* Avoids [RUSTSEC-2021-0145](https://rustsec.org/advisories/RUSTSEC-2021-0145)
11+
* BREAKING: Bump MSRV to 1.63
912

1013
## 2.9.0 - 2022-02-20
1114
### Changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ edition = "2018"
1717
#
1818
# The first version of Cargo that supports this field was in Rust 1.56.0.
1919
# In older releases, the field will be ignored, and Cargo will display a warning.
20-
rust-version = "1.53"
20+
rust-version = "1.63"
2121

2222
[features]
2323
nested-values = ["erased-serde", "serde", "serde_json", "slog/nested-values"]

0 commit comments

Comments
 (0)