Skip to content

Commit dd9593a

Browse files
authored
rust: elide lifetimes for clippy analysis (#167)
* rust: elide lifetimes for clippy analysis A new version of Rust has made unnecessary lifetime annotations an error for `cargo clippy`. This change removes them, replacing them with a default `'_`. * rust: check in Cargo.lock to avoid version mismatches * rust: use bindgen 0.69.5 This is what `Cargo.lock` is resolving to, so use this directly. * rust: update version of `cargo-deny`
1 parent d3356e4 commit dd9593a

14 files changed

+470
-13
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
59-
- uses: EmbarkStudios/cargo-deny-action@5def368d93be6684ad20a0fdec5f23c8ea11e022 # v1.5.13
59+
- uses: EmbarkStudios/cargo-deny-action@e2f4ede4a4e60ea15ff31bc0647485d80c66cfba # v2.0.4
6060
with:
61-
arguments: --manifest-path rust/Cargo.toml
61+
manifest-path: rust/Cargo.toml
6262

6363
rust_build:
6464
name: Check Rust crate

rust/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
**/target
22
**/*.rs.bk
3-
Cargo.lock
43
c-library

0 commit comments

Comments
 (0)