Gork@lemm.ee to Programmer Humor@lemmy.ml · 2 years agoFortune Tellerfiles.catbox.moeimagemessage-square51linkfedilinkarrow-up1787arrow-down114
arrow-up1773arrow-down1imageFortune Tellerfiles.catbox.moeGork@lemm.ee to Programmer Humor@lemmy.ml · 2 years agomessage-square51linkfedilink
minus-squareEphera@lemmy.mllinkfedilinkarrow-up6·2 years agoYou could use cargo-deny for that: https://embarkstudios.github.io/cargo-deny/checks/bans/index.html#use-case---denying-specific-crates You’d need to remember to run it, though. Either in CI/CD or as a pre-commit hook or personally, I like to just have a script which also runs unit tests and Clippy, so that it’s useful enough that I run it myself.
You could use cargo-deny for that: https://embarkstudios.github.io/cargo-deny/checks/bans/index.html#use-case---denying-specific-crates
You’d need to remember to run it, though. Either in CI/CD or as a pre-commit hook or personally, I like to just have a script which also runs unit tests and Clippy, so that it’s useful enough that I run it myself.