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 |
|
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 |
kchibisov
left a comment
There was a problem hiding this comment.
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 fmthas been run on this branchcargo docbuilds successfullyCHANGELOG.mdif knowledge of this change could be valuable to users