diff --git a/.rusty-hook.toml b/.rusty-hook.toml new file mode 100644 index 0000000..b1bd0ab --- /dev/null +++ b/.rusty-hook.toml @@ -0,0 +1,5 @@ +[hooks] +pre-push = "cargo fmt --all -- --check --color always" + +[logging] +verbose = true diff --git a/Cargo.toml b/Cargo.toml index d6c67ec..8e33c0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,3 +40,4 @@ jsonwebtoken = "8.3.0" [dev-dependencies] lazy_static = "1.4.0" +rusty-hook = "0.11.2" \ No newline at end of file