check:
cargo fetch --locked # make sure lockfile is up to date
cargo check --all
cargo fmt --check
cargo clippy --all-targets --all
cargo test --workspace # includes examples and doctests
cargo doc --no-deps # fails on broken links
cargo-deny check
# Require running JMAP server. Skip in CI, but check they build.
cargo test --features jmap_test --no-run
# test without optional JMAP feature
cargo check --all --no-default-features
cargo clippy --all-targets --all --no-default-features
cargo test --workspace --no-default-features
# Require locally running JMAP server.
jmap-tests:
cargo test --features jmap_test
clean:
cargo clean