You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(clippy): enforce production denies in CI (#238)
The crate enables a set of strict clippy denies (no panic, unwrap,
expect, or unchecked indexing in production code) but gates them on
builds without the test or virt features. Every CI job builds with
`--all-features`, which always enables virt, so the denies were switched
off across the whole crate in CI and never actually ran. Real violations
could land unnoticed, and a few had.
This regates the denies on the test feature alone, so production code
stays linted even when virt is enabled. The virt test-utility code keeps
the latitude it needs through small local allows, since its panics live
on scattered match arms rather than a clean module we could exempt
wholesale.
The change also clears the pre-existing violations that surface once the
lint runs for real, in the WebAuthn client-data and assertion paths and
the HID framing parser. There are no functional changes, and every
feature combination builds clean under the enforced denies.
0 commit comments