-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cargo-deny check to CI #2713
Conversation
I think it tested minimal versions? I'm not sure how we can get Line 112 in 79ac236
That's a good idea to ensure, but new deps are always rechecked manually (at least I try to) and ensure we don't add some crap.
Duplicate on nix is related to the way you test, though, there should be duplicate on nix, because calloop uses nix 0.25, but wayland-client is at 0.24 |
Like so:
So we need a new |
No, if you run That's for example my output of
And that's the duplicates
|
Oh I see - I have an old |
So one can fix the
but since |
Yes, but calloop fixes some critical bugs, so we can't downgrade. |
No - so I've told |
So - I find But - YMMV :) |
It would actually be beneficial for our CI if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general that looks good to me.
The nix issue will be resolved once #2676 is merged (will take a while though).
By adding more targets, we find more duplicate crates:
|
Interestingly, |
@emilk but that looks simply wrong. Because |
cc @jackpot51 wrt redox duplicates. |
Ah, I think I'm maybe finally understanding how Ah yes, here is the related issue: EmbarkStudios/cargo-deny#324 |
So this remains:
Because of https://gitlab.redox-os.org/redox-os/orbclient/-/issues/46 I'll ignore it for now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you rebase, I hope that should fix the CI.
Seems like CI is running latest Rust, which means 1.68.0, which means new clippy errors. |
Clippy fix: #2729 |
Thanks! |
cargo-deny is an amazing tool that protects from:
Try it:
(EDIT: removed wrong stuff about rustsec and duplicated deps due to me using an outdated
Cargo.lock
)cargo fmt
has been run on this branchcargo doc
builds successfullyCHANGELOG.md
if knowledge of this change could be valuable to users