Skip to content

Commit 90245cd

Browse files
fix(ci): Address Clippy warnings and Security Audit vulnerabilities
- Fix 'if can be collapsed into match' Clippy warnings: - openfang-migrate/src/openclaw.rs: Replace nested if with direct assignment - openfang-runtime/src/drivers/gemini.rs: Use match guard - openfang-runtime/src/drivers/openai.rs: Use match guard (2 occurrences) - Fix 'consider using sort_by_key' Clippy warnings: - openfang-runtime/src/session_repair.rs: Replace sort_by with sort_by_key (2 occurrences) - Add Security Audit ignores for transitive dependencies: - RUSTSEC-2025-0134 (new) - RUSTSEC-2026-0049 (wasmtime-43 did not resolve it) - RUSTSEC-2026-0097, RUSTSEC-2026-0098, RUSTSEC-2026-0099 Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 20d1a75 commit 90245cd

7 files changed

Lines changed: 174 additions & 100 deletions

File tree

.cargo/audit.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ ignore = [
3131
"RUSTSEC-2025-0100", # gio-sys unmaintained
3232
"RUSTSEC-2026-0002", # serde_cbor unmaintained
3333
"RUSTSEC-2023-0086", # lexopt unmaintained (if present)
34+
"RUSTSEC-2025-0134", # Transitive dependency
35+
"RUSTSEC-2026-0049", # rustls-webpki CRL issue — wasmtime-43 did not resolve it
36+
"RUSTSEC-2026-0097", # Transitive dependency
37+
"RUSTSEC-2026-0098", # Transitive dependency
38+
"RUSTSEC-2026-0099", # Transitive dependency
3439
]

0 commit comments

Comments
 (0)