Added pre-commit and pre-push hooks with the help of cargo-husky. This also means that I need to temporarily allow specific bits of dead code until I implement support for at least one more Servarr

This commit is contained in:
2023-08-08 10:50:05 -06:00
parent 74502f5462
commit d5117fda39
8 changed files with 59 additions and 4 deletions
+16 -1
View File
@@ -3,6 +3,11 @@ name = "managarr"
version = "0.1.11"
authors = ["Alex Clarke <alex.j.tusa@gmail.com>"]
description = "A TUI for managing *arr servers"
keywords = ["managarr", "tui-rs", "dashboard", "servarr"]
documentation = "https://github.com/Dark-Alex-17/managarr"
repository = "https://github.com/Dark-Alex-17/managarr"
homepage = "https://github.com/Dark-Alex-17/managarr"
readme = "README.md"
edition = "2021"
[dependencies]
@@ -27,6 +32,16 @@ tui = "0.19.0"
urlencoding = "2.1.2"
[dev-dependencies]
cargo-husky = { version = "1.5.0", default_features = false, features = ["user-hooks"] }
mockito = "1.0.0"
pretty_assertions = "1.3.0"
rstest = "0.17.0"
mockito = "1.0.0"
[[bin]]
bench = false
path = "src/main.rs"
name = "managarr"
[profile.release]
lto = true
codegen-units = 1