Skip to content

Audit panics and add clippy lints#84

Merged
kurtjd merged 1 commit intoOpenDevicePartnership:mainfrom
kurtjd:audit-panics
Dec 20, 2025
Merged

Audit panics and add clippy lints#84
kurtjd merged 1 commit intoOpenDevicePartnership:mainfrom
kurtjd:audit-panics

Conversation

@kurtjd
Copy link
Contributor

@kurtjd kurtjd commented Dec 19, 2025

Audits for additional panics, predominantly with the embassy feature enabled. No breaking changes introduced, in a couple instances I could convert an unwrap to a PdError::InvalidParams which seemed to make the most sense in those cases.

This PR also additionally addresses a few clippy warnings unrelated to panics. I had to bump the MSRV from 1.82 to 1.88 since currently there is already existing code that is not stable under 1.83 which clippy warned about (and since the code was already introduced, I don't think there's any harm in bumping the MSRV officially).

Resolves #83

@kurtjd kurtjd self-assigned this Dec 19, 2025
@kurtjd kurtjd requested a review from a team as a code owner December 19, 2025 23:59
@kurtjd kurtjd added the enhancement New feature or request label Dec 19, 2025
@kurtjd kurtjd requested a review from jerrysxie December 20, 2025 00:00
@kurtjd kurtjd merged commit c037f0c into OpenDevicePartnership:main Dec 20, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

tps6699x: Audit for panics

3 participants

Comments