Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 1.38 KB

File metadata and controls

80 lines (54 loc) · 1.38 KB

ZTask

Basic Execution

cargo run -q -- -v -l

Test Coverage

Install tarpaulin for coverage

Until I deal with this, make sure there is an empty database when setting up a new project dir:

data/db.json:

[]
apt install libssl-dev
cargo install cargo-tarpaulin

Run tests and measure coverage

Pick one.

cargo test
RUSTFLAGS="-C instrument-coverage" cargo test
llvm-profdata merge -sparse default_*.profraw -o json5format.profdata

Checkers

cargo clippy --all --all-targets -- -D warnings -D clippy::pedantic
# note, this runs cargo check

Documentation

Public

cargo doc --no-deps --open

Private

cargo doc --document-private-items --no-deps --open

To Do