mathstuf / rust-keyutils

Rust interface to the Linux keyring
BSD 3-Clause "New" or "Revised" License
17 stars 9 forks source link

Update errno to 0.3 #64

Closed complexspaces closed 1 year ago

complexspaces commented 1 year ago

This PR updates errno to the latest version, matching what other crates in the ecosystem use.

While technically the MSRV was raised to 1.48, I believe the crate should build on Linux with much older compilers to match keyutils current MSRV. The only thing, AFAICT, using 1.48 is windows-sys which won't compile on a Linux target anyway.

codecov[bot] commented 1 year ago

Codecov Report

Merging #64 (f711a04) into master (ab5e2fc) will increase coverage by 0.09%. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/mathstuf/rust-keyutils/pull/64/graphs/tree.svg?width=650&height=150&src=pr&token=bKuEZ2G4sr&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel)](https://app.codecov.io/gh/mathstuf/rust-keyutils/pull/64?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel) ```diff @@ Coverage Diff @@ ## master #64 +/- ## ========================================== + Coverage 66.87% 66.96% +0.09% ========================================== Files 39 39 Lines 2919 2915 -4 ========================================== Hits 1952 1952 + Misses 967 963 -4 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/mathstuf/rust-keyutils/pull/64/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/mathstuf/rust-keyutils/pull/64?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/mathstuf/rust-keyutils/pull/64?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel). Last update [ab5e2fc...f711a04](https://app.codecov.io/gh/mathstuf/rust-keyutils/pull/64?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ben+Boeckel).
complexspaces commented 1 year ago

Clippy appears to be failing for unrelated reasons. I can fix it in this PR as well if you would like.