rocket-governor 0.2.0-rc.4

Implementation of Governor rate limiter for Rocket
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#

script=$(basename "$0")

fail() {
	echo "$script: pre-commit hook failed" >&2
	exit 1
}

cargo fmt --check && \
cargo clippy --all-features --no-deps -- -Dwarnings && \
cargo msrv verify || fail