Skip to content

Commit a6defff

Browse files
committed
chore: machete.
1 parent 2529fb5 commit a6defff

File tree

45 files changed

+49
-686
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+49
-686
lines changed

.githooks/pre-commit

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
#!/bin/bash
22

33
set -e
4+
########
5+
# Cargo dependencies
6+
#######
7+
8+
# if cargo machete does not return 0
9+
cargo machete || {
10+
echo "❌ You have unused dependencies in your Cargo.toml. Check the above."
11+
exit 1
12+
}
13+
414
##########
515
# CLAP CLI
616
##########

0 commit comments

Comments
 (0)