parallaxsecond / rust-cryptoki

Rust wrapper for the PKCS #11 API, Cryptoki
https://docs.rs/cryptoki/
Apache License 2.0
75 stars 61 forks source link

Use infallible conversion into instead of try_into #197

Closed gowthamsk-arm closed 10 months ago

gowthamsk-arm commented 10 months ago

A new clippy lint https://rust-lang.github.io/rust-clippy/master/index.html#/unnecessary_fallible_conversions has been added to rust 1.75.0 that is causing the CI failure. The use of try_into when into is available will be reported by the lint now.

Signed-off-by: Gowtham Suresh Kumar gowtham.sureshkumar@arm.com

gowthamsk-arm commented 10 months ago

Nightly Ci failure: https://github.com/parallaxsecond/rust-cryptoki/actions/runs/7391892330