cossacklabs / themis

Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.
https://www.cossacklabs.com/themis
Apache License 2.0
1.87k stars 143 forks source link

rust: Deal with new Rust 1.66 warnings #977

Closed ilammy closed 1 year ago

ilammy commented 1 year ago

I noticed that both "stable" and "1.51" builds are failing with new warnings from Clippy 1.66. That's weird. Turns out the "1.51" build was actually testing the latest stable Rust. Way to go. And RustThemis actually does not work with 1.51, the minimum version that works is 1.56.

After that is dealt with, clean up some things that Clippy 1.66 complains about. Suppress some others (#971).

Checklist