set shell := ["bash", "-c"]
alias l := lint
alias t := test
alias f := fmt
alias cl := clean
alias ck := check
# Default recipe to run when just is called without arguments
default:
@just check
@just fmt
@just lint
@just fmt
clean:
cargo clean
check:
cargo check
test $RUST_BACKTRACE="full":
cargo hack test --each-feature --workspace --exclude-features rustls-no-provider
fmt:
taplo fmt
cargo +nightly fmt
lint:
cargo clippy --fix --allow-dirty --workspace --all-targets --locked -- -D warnings
ci-check:
taplo fmt --check
cargo +nightly fmt --all --check
cargo hack check --each-feature --workspace --all-targets --locked
ci-lint:
cargo clippy --workspace --all-targets --locked -- -D warnings