Skip to content

Commit

Permalink
Add Rust 1.74 upgrade
Browse files Browse the repository at this point in the history
And associated changes.
This includes an upgrade of drand_core to 0.0.15
  • Loading branch information
thibmeu committed Feb 29, 2024
1 parent d216208 commit 9f575c5
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
toolchain: 1.74
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
toolchain: 1.74
override: true
- name: Add target
run: rustup target add ${{ matrix.target }}
Expand All @@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
toolchain: 1.74
override: true
- name: cargo check
uses: actions-rs/cargo@v1
Expand All @@ -71,20 +71,20 @@ jobs:
args: --tests --examples --benches --all-features

clippy:
name: Clippy (1.70.0)
name: Clippy (1.74)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
toolchain: 1.74
components: clippy
override: true
- name: Clippy check
uses: actions-rs/clippy-check@v1
with:
name: Clippy (1.70.0)
name: Clippy (1.74)
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings

Expand All @@ -96,7 +96,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
toolchain: 1.74
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
Expand All @@ -119,7 +119,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0
toolchain: 1.74
components: rustfmt
override: true
- name: Check formatting
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ age = "0.9"
age-core = "0.9"
anyhow = "1.0"
criterion = "0.4"
drand_core = "0.0.14"
drand_core = "0.0.15"
getrandom = "0.2"
hex = "0.4"
rand = { version = "0.8", default-features = false }
thiserror = "1.0.51"
thiserror = "1.0.57"
1 change: 1 addition & 0 deletions age-plugin-tlock/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed

- Update dependencies
- Update Rust to 1.74

## [0.1.0] - 2023-08-06

Expand Down
4 changes: 2 additions & 2 deletions age-plugin-tlock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ age = { workspace = true }
age-core = { workspace = true }
age-plugin = "0.4.0"
bincode = "2.0.0-rc.3"
clap = { version = "4.4.11", features = ["derive"] }
clap-verbosity-flag = "2.1.1"
clap = { version = "4.5.1", features = ["derive"] }
clap-verbosity-flag = "2.2.0"
drand_core = { workspace = true }
hex = { workspace = true }
thiserror = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.70.0
1.74
1 change: 1 addition & 0 deletions tlock/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed

- Update dependencies
- Update Rust to 1.74

## [0.0.4] - 2023-08-23

Expand Down
1 change: 1 addition & 0 deletions tlock_age/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed

- Update dependencies
- Update Rust to 1.74

## [0.0.3] - 2023-07-23

Expand Down

0 comments on commit 9f575c5

Please sign in to comment.