Skip to content

Commit

Permalink
Update to Rust 2021, MSRV 1.56
Browse files Browse the repository at this point in the history
Prompted by recent updates in the `time` crate
  • Loading branch information
Techcable committed Jan 4, 2024
1 parent 8e0cdf4 commit a592b7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
strategy:
fail-fast: false # Even if one job fails we still want to see the other ones
matrix:
# 1.53 is MSRV. Keep this in sync with Cargo.toml
rust: [1.53, stable, nightly]
# 1.56 is MSRV. Keep this in sync with Cargo.toml
rust: [1.56, stable, nightly]
# NOTE: We don't really have any "feature combos" to test.
#
# We just have default features and nothing else :)
Expand Down
7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "slog-bunyan"
version = "2.4.0"
edition = "2018"
edition = "2021"
authors = ["Dawid Ciężarkiewicz <[email protected]>"]
description = "Bunyan formatter for slog-rs"
keywords = ["log", "logging", "structured", "hierarchical"]
Expand All @@ -17,10 +17,7 @@ readme = "README.md"
# Changing this bumps the minor version for semver (2.x for semver).
#
# NOTE: Changing this requires updating github actions
#
# The first version of Cargo that supports this field was in Rust 1.56.0.
# In older releases, the field will be ignored, and Cargo will display a warning.
rust-version = "1.53"
rust-version = "1.56"

[lib]
path = "lib.rs"
Expand Down

0 comments on commit a592b7c

Please sign in to comment.