tii 0.0.5

A Low-Latency Web Server.
Documentation
{:tasks
 {:requires                ([babashka.fs :as fs])
  clean                    {:doc  "Removes target folder"
                            :task (fs/delete-tree "target")}
  test_all_features        (shell "cargo test --all-features --no-fail-fast")
  test_no_default_features (shell "cargo test --no-default-features --no-fail-fast")
  cargo-test               {:doc     "Runs all cargo tests"
                            :depends [test_all_features test_no_default_features]}
  cargo-fmt                {:doc  "Checks cargo fmt"
                            :task (shell "cargo fmt --check")}
  clippy-all-features      {:doc  "Cargo clippy with all features"
                            :task (shell "cargo clippy --all-features -- --deny warnings")}
  clippy-no-defaults       {:doc  "Cargo clippy with no default features"
                            :task (shell "cargo clippy --no-default-features -- --deny warnings")}
  clippy-examples          {:doc  "Cargo clippy on examples"
                            :task (shell "cargo clippy --examples -- --deny warnings -A clippy::unwrap-used")}
  clippy                   {:doc     "Runs all variations of cargo clippy"
                            :depends [clippy-all-features clippy-no-defaults clippy-examples]}
  cov-all-features         {:doc  "Coverage, all features"
                            :task (shell "cargo llvm-cov --no-report --all-features")}
  cov-std-only             {:doc  "Coverage, std only"
                            :task (shell "cargo llvm-cov --no-report --no-default-features")}
  cov-examples             {:doc  "Coverage, examples"
                            :task (shell "cargo llvm-cov --no-report --examples")}
  cov-clean                {:doc  "Cleans all .profraw files and generated html"
                            :task (shell "cargo llvm-cov clean --workspace")}
  cov-html                 {:doc     "Runs llvm-cov to generate human readable html"
                            :depends [cov-clean cov-all-features cov-std-only]
                            :task    (shell "cargo llvm-cov report --html")}
  cov                      {:doc     "Generates coverage and reports to the terminal"
                            :depends [cov-clean cov-all-features cov-std-only cov-examples]
                            :task    (shell "cargo llvm-cov report")}
  test                     {:doc     "Runs all tests and checks"
                            :depends [cargo-test cargo-fmt clippy]}}}