awslabs / tough

Rust libraries and tools for using and generating TUF repositories
197 stars 54 forks source link

Bump rust to 1.78.0 in actions runner #780

Closed jpculp closed 2 months ago

jpculp commented 3 months ago

Description of changes:

Bumps rust to 1.78.0 and addresses the clippy warnings that came with it.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

bcressey commented 2 months ago

We need to update cargo deny to fix this error:

cargo deny --all-features check --disable-fetch licenses bans sources
thread '<unnamed>' panicked at /home/runner/work/tough/tough/.cargo/registry/src/index.crates.io-6f17d22bba15001f/krates-0.14.0/src/builder.rs:791:47:
called `Option::unwrap()` on a `None` value

I'd prefer to keep _extra as-is and just add a lints table to the workspace Cargo.toml to allow it.

jpculp commented 2 months ago