Skip to content

chore: fix clippy and cargo-audit failures on stable 1.95#130

Merged
mobileoverlord merged 2 commits intomainfrom
lee-eng-1807
Apr 21, 2026
Merged

chore: fix clippy and cargo-audit failures on stable 1.95#130
mobileoverlord merged 2 commits intomainfrom
lee-eng-1807

Conversation

@lee-reinhardt
Copy link
Copy Markdown
Member

Summary

  • Resolve two clippy lints tripping on rust 1.95 (collapsible_if in disk_writer.rs, collapsible_match in tui/renderer.rs)
  • Bump rustls-webpki to 0.103.12 for RUSTSEC-2026-0098 and RUSTSEC-2026-0099 (cargo update -p rustls-webpki only — no Cargo.toml change)

Both issues are latent on main; CI doesn't run clippy or cargo-audit on scheduled workflows, so they first surface on PRs.

Test plan

  • cargo clippy --all-targets --all-features -- -D warnings clean on stable 1.95
  • cargo audit clean (2 informational warnings remain for rand, not blocking)
  • cargo test --lib passes
  • CI passes end-to-end

fixes two pre-existing clippy issues that fail ci on rust 1.95's
stricter lint set:

- collapsible_if in disk_writer.rs (1.92+)
- collapsible_match in tui/renderer.rs (1.95+)

both were already on main but its clippy workflow only runs on PRs,
so they hadn't been caught until now.
cargo update -p rustls-webpki only — patched version pulls via the
existing version constraint. no cargo.toml change needed.

- rustsec-2026-0098: name constraints for uri names were incorrectly accepted
- rustsec-2026-0099: name constraints accepted for certs asserting a wildcard name

rustls-webpki is a transitive dep through reqwest and tough.
@mobileoverlord mobileoverlord merged commit 9d3a19a into main Apr 21, 2026
5 checks passed
@mobileoverlord mobileoverlord deleted the lee-eng-1807 branch April 21, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants