Skip to content

Commit

Permalink
Update all dependencies (Cargo.lock) and bump the MSRV (1.76 -> 1.78)
Browse files Browse the repository at this point in the history
This is simply the result of running `cargo update` without touching
Cargo.toml (required since we currently only use dependabot to update
direct dependencies and not indirect/transitive dependencies and useful
to avoid a lot of dependabot PRs for minor/patch updates that can be
bundled, like in this commit).

The crate `diesel_derives v2.2.0` requires `rustc 1.78.0` or newer so
let's bump the MSRV accordingly.

Bumping the MSRV also removes the last usage of the `rustversion` crate
but I'll keep it around for now as it can become relevant again with
every new Rust version (so it seems best to just keep it around instead
of having to remove and re-add it "regularly").

Signed-off-by: Michael Weiss <michael.weiss@eviden.com>
  • Loading branch information
primeos-work committed Jun 5, 2024
1 parent 7782909 commit 09cbb23
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 217 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.76.0 # MSRV
toolchain: 1.78.0 # MSRV
components: rustfmt

- name: Run cargo fmt
Expand All @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
rust:
- 1.76.0 # MSRV
- 1.78.0 # MSRV
- stable
- beta

Expand All @@ -53,7 +53,7 @@ jobs:
strategy:
matrix:
rust:
- 1.76.0 # MSRV
- 1.78.0 # MSRV
- stable
- beta
steps:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
fail-fast: false
matrix:
include:
- rust: 1.76.0 # MSRV
- rust: 1.78.0 # MSRV
optional: false
- rust: beta
optional: true
Expand Down
Loading

0 comments on commit 09cbb23

Please sign in to comment.