trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.9k stars 79 forks source link

Appease fmt and clippy #743

Closed squell closed 1 year ago

squell commented 1 year ago

The CI has updated its Rust toolchain; so PR's will get rejected until this one is merged.

github-actions[bot] commented 1 year ago

Number of dependencies and binary size impact report

Metric main PR #743 Delta
Direct dependencies 3 3 -
Total dependencies 4 4 -
Binary size 1 MiB 1 MiB -0.8%
Text size 596.6 KiB 595.2 KiB -0.2%
Dependencies diff ```diff └─ sudo-rs [v0.2.0-dev.20230711] ├─ glob [v0.3.1] ├─ libc [v0.2.147] └─ log [v0.4.19] ```
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 60.29% and project coverage change: -0.14% :warning:

Comparison is base (e83fc61) 54.78% compared to head (8f442e8) 54.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #743 +/- ## ========================================== - Coverage 54.78% 54.65% -0.14% ========================================== Files 71 71 Lines 9709 9745 +36 ========================================== + Hits 5319 5326 +7 - Misses 4390 4419 +29 ``` | [Files Changed](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/743?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety) | Coverage Δ | | |---|---|---| | [src/sudoers/basic\_parser.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/743?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvYmFzaWNfcGFyc2VyLnJz) | `94.71% <50.00%> (-0.85%)` | :arrow_down: | | [src/sudoers/test/mod.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/743?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvdGVzdC9tb2QucnM=) | `92.74% <56.00%> (-5.60%)` | :arrow_down: | | [src/sudoers/mod.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/743?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvbW9kLnJz) | `69.28% <66.66%> (-0.20%)` | :arrow_down: | | [src/defaults/mod.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/743?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL2RlZmF1bHRzL21vZC5ycw==) | `91.42% <100.00%> (+0.25%)` | :arrow_up: | | [src/sudoers/ast.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/743?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvYXN0LnJz) | `82.76% <100.00%> (+0.05%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/743/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.